|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.catalog.ui.workflow.Workflow.State
net.refractions.udig.catalog.ui.workflow.EndConnectionState
public class EndConnectionState
Constructor Summary | |
---|---|
EndConnectionState(UDIGConnectionFactoryDescriptor descriptor,
boolean validateServices)
Create instance |
Method Summary | |
---|---|
UDIGConnectionFactory |
getConnectionFactory()
|
UDIGConnectionFactoryDescriptor |
getDescriptor()
|
java.util.Map<IService,java.lang.Throwable> |
getErrors()
|
java.lang.String |
getName()
|
java.util.Map<java.lang.String,java.io.Serializable> |
getParams()
52¡North added method return the parameters for this state |
java.util.Set<IService> |
getServices()
|
boolean |
hasNext()
52¡North added return true, if there are no errors and there is a successor state(which can be the same state) |
boolean |
isValidateState()
|
Workflow.State |
next()
52¡North changed Method returns null if there is not a succesor state. |
boolean |
run(IProgressMonitor monitor)
Performs any "hard" work. |
void |
setNextState(EndConnectionState state)
52¡North added |
void |
setParams(java.util.Map<java.lang.String,java.io.Serializable> params)
|
void |
setURLs(java.util.Set<java.net.URL> urls)
|
void |
setValidateState(boolean validateState)
|
Methods inherited from class net.refractions.udig.catalog.ui.workflow.Workflow.State |
---|
getPreviousState, getWorkflow, init, setPrevious, setWorkflow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EndConnectionState(UDIGConnectionFactoryDescriptor descriptor, boolean validateServices)
descriptor
- The connection factory descriptor to use in statevalidateServices
- indicates whether the service should be probed for its members and
metadata.Method Detail |
---|
public boolean run(IProgressMonitor monitor) throws java.io.IOException
Workflow.State
run
in class Workflow.State
monitor
- A progress monitor.
java.io.IOException
public boolean hasNext()
hasNext
in class Workflow.State
public Workflow.State next()
next
in class Workflow.State
public UDIGConnectionFactoryDescriptor getDescriptor()
public UDIGConnectionFactory getConnectionFactory()
public java.util.Set<IService> getServices()
public void setParams(java.util.Map<java.lang.String,java.io.Serializable> params)
public void setURLs(java.util.Set<java.net.URL> urls)
public java.lang.String getName()
getName
in class Workflow.State
public boolean isValidateState()
public void setValidateState(boolean validateState)
public java.util.Map<IService,java.lang.Throwable> getErrors()
public void setNextState(EndConnectionState state)
state
- public java.util.Map<java.lang.String,java.io.Serializable> getParams()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |