|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tibco.bpm.web.client.model.types.MigrationRule
public class MigrationRule
Details of a migration rule to migrate one version of a process template to a different version.
This class is used when submitting new migration rules to the AMX BPM server from a client application.
©2011 Cloud Software Group, Inc.
Constructor Summary | |
---|---|
MigrationRule()
|
|
MigrationRule(int aId,
java.lang.String aName,
java.lang.String aSourceVersion,
java.lang.String aDestinationVersion,
java.lang.String aFromTask,
boolean aIsApplied)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object aThat)
|
java.lang.String |
getDestinationVersion()
The destination process template version for the migration. |
java.lang.String |
getFromTask()
The Task in the source version where the migration is to take place. |
int |
getId()
ID to identify the migration rule. |
java.lang.String |
getName()
The user defined name for the migration rule. |
java.lang.String |
getSourceVersion()
The source process template version for the migration. |
boolean |
isApplied()
Flag used by the client to determine if a migration rule has been applied on the server. |
boolean |
isDeleted()
Flag to mark a rule as deleted. |
void |
setApplied(boolean isApplied)
Flag used by the client to determine if a migration rule has been applied on the server. |
void |
setDeleted(boolean isDeleted)
Flag to mark a rule as deleted. |
void |
setDestinationVersion(java.lang.String destinationVersion)
The destination process template version for the migration. |
void |
setFromTask(java.lang.String fromTask)
The Task in the source version where the migration is to take place. |
void |
setId(int id)
ID to identify the migration rule. |
void |
setName(java.lang.String name)
The user defined name for the migration rule. |
void |
setSourceVersion(java.lang.String sourceVersion)
The source process template version for the migration. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MigrationRule()
public MigrationRule(int aId, java.lang.String aName, java.lang.String aSourceVersion, java.lang.String aDestinationVersion, java.lang.String aFromTask, boolean aIsApplied)
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
If the name exceeds it is truncated.
name
- public java.lang.String getSourceVersion()
public void setSourceVersion(java.lang.String sourceVersion)
sourceVersion
- The sourceVersion to set.public java.lang.String getDestinationVersion()
public void setDestinationVersion(java.lang.String destinationVersion)
destinationVersion
- The destinationVersion to set.public java.lang.String getFromTask()
Currently migration is only supported from a source Task to the same Task in the destination template version.
It is not possible to jump from a source task to a different task in the destination version.
public void setFromTask(java.lang.String fromTask)
Currently migration is only supported from a source Task to the same Task in the destination template version.
It is not possible to jump from a source task to a different task in the destination version.
fromTask
- The fromTask to set.public int getId()
public void setId(int id)
id
- The id to set.public boolean isApplied()
This flag can be used to determine which rules in a list have been submitted to the server.
public void setApplied(boolean isApplied)
This flag can be used to determine which rules in a list have been submitted to the server.
isApplied
- The isApplied to set.public boolean isDeleted()
The client uses this flag to determine which rules have been deleted so a request can be sent to the server to remove the rule.
public void setDeleted(boolean isDeleted)
The client uses this flag to determine which rules have been deleted so a request can be sent to the server to remove the rule.
isDeleted
- The isDeleted to set.public boolean equals(java.lang.Object aThat)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |