Package com.uc4.api
Class ExecuteTestOptions
java.lang.Object
com.uc4.api.ExecuteTestOptions
Various test options are available in order to execute objects with options.
Information about the generation is displayed in the activation protocol
depending on the selection you made. The information may be used
to analyze whether or not the task was executed properly.
For example, script lines may be compared to
the generated JCL, or the values of Variables
and attributes may be checked.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the option generated JCL is selected.booleanReturnstrueif the option modification of attributes is selected.booleanReturnstrueif the option modification of variables is selected.booleanReturnstrueif the option Original Script is selected.voidInternal use only.voidsetGeneratedJCL(boolean generatedJCL) Sets the option to show the generated JCL in the activation protocol.voidsetModificationOfAttributes(boolean modificationOfAttributes) Sets the option to show the modification of attributes in the activation protocol.voidsetModificationOfVariables(boolean modificationOfVariables) Sets the option to show the modification of variables in the activation protocol.voidsetOriginalScript(boolean originalScript) Sets the option to show the original script in the activation protocol.voidsetShowAttributeDialog(boolean showAttributeDialog) Shows the attribute Dialog.booleanReturnstrueif the Attribute Dialog will be opened before the object starts.
-
Constructor Details
-
ExecuteTestOptions
public ExecuteTestOptions()
-
-
Method Details
-
showAttributeDialog
public boolean showAttributeDialog()Returnstrueif the Attribute Dialog will be opened before the object starts.- Returns:
- True if the Attribute Dialog will be shown false otherwise
-
setShowAttributeDialog
public void setShowAttributeDialog(boolean showAttributeDialog) Shows the attribute Dialog. If this value is set totruethe correspondingExecuteObjectrequest has to be sent using the methodsendRequest. The client will be notified by theINotificationListener#readmethod.- Parameters:
showAttributeDialog- True if the attribut dialog should be opened before the object starts
-
isGeneratedJCL
public boolean isGeneratedJCL()Returnstrueif the option generated JCL is selected.- Returns:
- JCL
-
setGeneratedJCL
public void setGeneratedJCL(boolean generatedJCL) Sets the option to show the generated JCL in the activation protocol.- Parameters:
generatedJCL- True if the generated JCL should be displayed in the activation protocol
-
isModificationOfAttributes
public boolean isModificationOfAttributes()Returnstrueif the option modification of attributes is selected.- Returns:
- True if the modification of attributes should be displayed in the activation protocol
-
setModificationOfAttributes
public void setModificationOfAttributes(boolean modificationOfAttributes) Sets the option to show the modification of attributes in the activation protocol.- Parameters:
modificationOfAttributes- True if the modification of attributes should be displayed in the activation protocol
-
isModificationOfVariables
public boolean isModificationOfVariables()Returnstrueif the option modification of variables is selected.- Returns:
- True if the modification of variables should be displayed in the activation protocol
-
setModificationOfVariables
public void setModificationOfVariables(boolean modificationOfVariables) Sets the option to show the modification of variables in the activation protocol.- Parameters:
modificationOfVariables- True if the modification of variables should be displayed in the activation protocol
-
isOriginalScript
public boolean isOriginalScript()Returnstrueif the option Original Script is selected.- Returns:
- True if the original script should be displayed in the activation protocol
-
setOriginalScript
public void setOriginalScript(boolean originalScript) Sets the option to show the original script in the activation protocol.- Parameters:
originalScript- True if the original script should be displayed in the activation protocol
-
save
Internal use only.- Parameters:
doc- XML DocumenttestOpt- Test optionsemptyIfZero- Workaround for a bug: If the test options are used from the restart, 1 and 0 ist not supported. Instead an empty string must be set (see S# 138968) On the other hand if ExecuteTestOptions are used from execute once, one and zero MUST be used (no empty String allowed) Should be fixed in the XREQ.
-