Package com.ptc.wvs.common.ui
Class ProcessingAction
java.lang.Object
com.ptc.wvs.common.ui.ProcessingAction
- Direct Known Subclasses:
PublisherAction
This class provides base functionality for creating action strings. An action
string contains specific options for WVS Processing Jobs.
The format of the action string is:
name1=value1,name2=value2
The use of the toString method will return the action string with the correct format.
Note: as "=" and "," are used as separators, name and value can not contain these
characters and they will be removed.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAction String Name for publish queue priority Value can be: "H" - high priory "M" - medium priority "L" - low priority
Supported API: truestatic final StringAction String Name for publish queue set to be used Value can be: any queue set that has been defined
Supported API: true -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a newProcessingActionobject.ProcessingAction(String name, String value) Create a newProcessingActionobject, specifying an action Neither name or value can be null
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a name/value pair to the action string list Neither name or value can be null
Supported API: trueReturn the map of actions in thePublisherAction
Supported API: truestatic booleanChecks the existence of the key in the actionString
Supported API: truestatic booleanisSynchronous(String _actionString) Checks if the given action string is Synchronous.static StringremoveSynchronous(String _actionString) Remove the Synchronous options from the given actionString.toString()Format the action for use in the call toPublisher.doPublish
Supported API: true
-
Field Details
-
QUEUEPRIORITY
Action String Name for publish queue priority Value can be: "H" - high priory "M" - medium priority "L" - low priority
Supported API: true- See Also:
-
QUEUESET
Action String Name for publish queue set to be used Value can be: any queue set that has been defined
Supported API: true- See Also:
-
-
Constructor Details
-
ProcessingAction
public ProcessingAction()Create a newProcessingActionobject.
Supported API: true -
ProcessingAction
Create a newProcessingActionobject, specifying an action Neither name or value can be null
Supported API: true- Parameters:
name- action namevalue- action value
-
-
Method Details
-
addAction
Adds a name/value pair to the action string list Neither name or value can be null
Supported API: true- Parameters:
name- action namevalue- action value
-
getActions
Return the map of actions in thePublisherAction
Supported API: true- Returns:
- Map of actions
-
isSynchronous
Checks if the given action string is Synchronous.
Supported API: true- Parameters:
_actionString- String - String to evaluate.- Returns:
- boolean - Returns true if the given string is Synchronous.
-
removeSynchronous
Remove the Synchronous options from the given actionString.
Supported API: true- Parameters:
_actionString- String - Action string to remove Synchronous from.- Returns:
- String - New non-synchronous action string.
-
toString
Format the action for use in the call toPublisher.doPublish
Supported API: true -
isSet
Checks the existence of the key in the actionString
Supported API: true- Returns:
- boolean
-