Package com.uc4.communication
Class ProcessFlowSettings
java.lang.Object
com.uc4.communication.ProcessFlowSettings
This class represents the Process Flow settings.
These settings can be found in the User Interface - Options - Settings - Process Flow
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOpen dialog box for alias input when a task is added to a process flow.static enumDefault Else action of tasks in a ProcessFlow.static enumStatus for external tasks. -
Method Summary
Modifier and TypeMethodDescriptionReturns if the dialog "Add task" should be displayed when you add ProcessFlow tasks using the drag and drop function.Returns the default else action when tasks are added to a Process Flow.Returns the default name of the UC4 Object which should be executed as ELSE action when a task are added to a Process Flow.Returns the default status for external tasks in a ProcessFlow.Returns the default status for tasks in a ProcessFlow.booleanReturnstrueif the calendar information sould be shown in the tooltip of a task in a Process Flow.booleanReturnstrueif the checkpoint information sould be shown in the tooltip of a task in a Process Flow.booleanReturnstrueif the conditions information sould be shown in the tooltip of a task in a Process Flow.booleanReturnstrueif the dependency information sould be shown in the tooltip of a task in a Process Flow.booleanReturnstrueif the earliest information sould be shown in the tooltip of a task in a Process Flow.booleanReturnstrueif the external dependencies sould be shown in the tooltip of a task in a Process Flow.boolean"General" has the effect that the tooltip displays an additional area that includes the most important information such as object type, host name and the short forms of specified properties.booleanReturnstrueif the runtime information sould be shown in the tooltip of a task in a Process Flow.booleanThumbnail has the effect that the box for the ProcessFlow task is shown in tooltip if a particular zoom level has been reached.voidsetAskForAlias(ProcessFlowSettings.AskForAlias askForAlias) Determines whether the dialog "Add task" should be displayed when you add ProcessFlow tasks using the drag and drop function, and when.voidsetElseAction(ProcessFlowSettings.ElseAction elseAction) Sets the default else action when tasks are added to a Process Flow.voidsetElseExecute(UC4ObjectName elseExecute) Sets the default name of the UC4 Object which should be executed as ELSE action when a task are added to a Process Flow.voidsetStatusForExternalTasks(ProcessFlowSettings.ExternalTaskStatus statusForExternalTasks) Sets the default status for external tasks in a ProcessFlow.voidsetStatusForInternalTasks(TaskState statusForInternalTasks) Sets the default status for tasks in a ProcessFlow.voidsetTooltipCalendar(boolean tooltipCalendar) Defines if calendar information sould be shown in the tooltip of a task in a Process Flow.voidsetTooltipCheckpoint(boolean tooltipCheckpoint) Defines if checkpoint information sould be shown in the tooltip of a task in a Process Flow.voidsetTooltipConditions(boolean tooltipConditions) Defines if condition information sould be shown in the tooltip of a task in a Process Flow.voidsetTooltipDependencies(boolean tooltipDependencies) Defines if dependency information sould be shown in the tooltip of a task in a Process Flow.voidsetTooltipEarliest(boolean tooltipEarliest) Defines if earliest information sould be shown in the tooltip of a task in a Process Flow.voidsetTooltipExternalDependency(boolean tooltipExternalDependency) Defines if external dependencies sould be shown in the tooltip of a task in a Process Flow.voidsetTooltipGeneral(boolean tooltipGeneral) "General" has the effect that the tooltip displays an additional area that includes the most important information such as object type, host name and the short forms of specified properties.voidsetTooltipRuntime(boolean tooltipRuntime) Defines if runtime information sould be shown in the tooltip of a task in a Process Flow.voidsetTooltipThumbnail(boolean tooltipThumbnail) Thumbnail has the effect that the box for the ProcessFlow task is shown in tooltip if a particular zoom level has been reached.
-
Method Details
-
getStatusForInternalTasks
Returns the default status for tasks in a ProcessFlow.- Returns:
- Default status or
nullif not set
-
setStatusForInternalTasks
Sets the default status for tasks in a ProcessFlow.- Parameters:
statusForInternalTasks- Default status
-
getStatusForExternalTasks
Returns the default status for external tasks in a ProcessFlow.- Returns:
- Default status
-
setStatusForExternalTasks
public void setStatusForExternalTasks(ProcessFlowSettings.ExternalTaskStatus statusForExternalTasks) Sets the default status for external tasks in a ProcessFlow.- Parameters:
statusForExternalTasks- Default status ornullif no status should be set
-
getAskForAlias
Returns if the dialog "Add task" should be displayed when you add ProcessFlow tasks using the drag and drop function.Possible return values are:
- AskForAlias.ALWAYS - The dialog always displays if objects are dragged and dropped to a ProcessFlow.
- AskForAlias.DUPLICATE_ONLY - The dialog only opens if the object is already available in the ProcessFlow as a task. Only the object name is checked, not the alias name.
- AskForAlias.NEVER (default) - The dialog does not open if the drag and drop function is used.
- Returns:
- Open dialog box for alias input
-
setAskForAlias
Determines whether the dialog "Add task" should be displayed when you add ProcessFlow tasks using the drag and drop function, and when.- AskForAlias.ALWAYS - The dialog always displays if objects are dragged and dropped to a ProcessFlow.
- AskForAlias.DUPLICATE_ONLY - The dialog only opens if the object is already available in the ProcessFlow as a task. Only the object name is checked, not the alias name.
- AskForAlias.NEVER (default) - The dialog does not open if the drag and drop function is used.
- Parameters:
askForAlias- Open dialog box for alias input
-
getElseAction
Returns the default else action when tasks are added to a Process Flow.- Returns:
- Default else action
-
setElseAction
Sets the default else action when tasks are added to a Process Flow.- Parameters:
elseAction- Default else action
-
getElseExecute
Returns the default name of the UC4 Object which should be executed as ELSE action when a task are added to a Process Flow.- Returns:
- Name of the UC4 Object
-
setElseExecute
Sets the default name of the UC4 Object which should be executed as ELSE action when a task are added to a Process Flow.- Parameters:
elseExecute- Name of the UC4 Object
-
isTooltipThumbnail
public boolean isTooltipThumbnail()Thumbnail has the effect that the box for the ProcessFlow task is shown in tooltip if a particular zoom level has been reached. The tooltip contains a picture of the tooltip box if the ProcessFlow view has been reduced to an extent that the box content could not easily be read anymore.- Returns:
- true if the TooltipThumbnail option is set, false otherwise
-
setTooltipThumbnail
public void setTooltipThumbnail(boolean tooltipThumbnail) Thumbnail has the effect that the box for the ProcessFlow task is shown in tooltip if a particular zoom level has been reached. The tooltip contains a picture of the tooltip box if the ProcessFlow view has been reduced to an extent that the box content could not easily be read anymore.- Parameters:
tooltipThumbnail- Set thumbnail option
-
isTooltipGeneral
public boolean isTooltipGeneral()"General" has the effect that the tooltip displays an additional area that includes the most important information such as object type, host name and the short forms of specified properties.- Returns:
- true if the TooltipGeneral option is set, false otherwise
-
setTooltipGeneral
public void setTooltipGeneral(boolean tooltipGeneral) "General" has the effect that the tooltip displays an additional area that includes the most important information such as object type, host name and the short forms of specified properties.- Parameters:
tooltipGeneral- Set TooltipGeneral option
-
isTooltipExternalDependency
public boolean isTooltipExternalDependency()Returnstrueif the external dependencies sould be shown in the tooltip of a task in a Process Flow.- Returns:
- Show external dependencies
-
setTooltipExternalDependency
public void setTooltipExternalDependency(boolean tooltipExternalDependency) Defines if external dependencies sould be shown in the tooltip of a task in a Process Flow.- Parameters:
tooltipExternalDependency- Show external dependencies
-
isTooltipCheckpoint
public boolean isTooltipCheckpoint()Returnstrueif the checkpoint information sould be shown in the tooltip of a task in a Process Flow.- Returns:
- Show checkpoint information
-
setTooltipCheckpoint
public void setTooltipCheckpoint(boolean tooltipCheckpoint) Defines if checkpoint information sould be shown in the tooltip of a task in a Process Flow.- Parameters:
tooltipCheckpoint- Show checkpoint information
-
isTooltipEarliest
public boolean isTooltipEarliest()Returnstrueif the earliest information sould be shown in the tooltip of a task in a Process Flow.- Returns:
- Show earliest information
-
setTooltipEarliest
public void setTooltipEarliest(boolean tooltipEarliest) Defines if earliest information sould be shown in the tooltip of a task in a Process Flow.- Parameters:
tooltipEarliest- Show earliest information
-
isTooltipDependencies
public boolean isTooltipDependencies()Returnstrueif the dependency information sould be shown in the tooltip of a task in a Process Flow.- Returns:
- Show dependency information
-
setTooltipDependencies
public void setTooltipDependencies(boolean tooltipDependencies) Defines if dependency information sould be shown in the tooltip of a task in a Process Flow.- Parameters:
tooltipDependencies- Show dependency information
-
isTooltipCalendar
public boolean isTooltipCalendar()Returnstrueif the calendar information sould be shown in the tooltip of a task in a Process Flow.- Returns:
- Show calendar information
-
setTooltipCalendar
public void setTooltipCalendar(boolean tooltipCalendar) Defines if calendar information sould be shown in the tooltip of a task in a Process Flow.- Parameters:
tooltipCalendar- Show calendar information
-
isTooltipRuntime
public boolean isTooltipRuntime()Returnstrueif the runtime information sould be shown in the tooltip of a task in a Process Flow.- Returns:
- Show runtime information
-
setTooltipRuntime
public void setTooltipRuntime(boolean tooltipRuntime) Defines if runtime information sould be shown in the tooltip of a task in a Process Flow.- Parameters:
tooltipRuntime- Show runtime information
-
isTooltipConditions
public boolean isTooltipConditions()Returnstrueif the conditions information sould be shown in the tooltip of a task in a Process Flow.- Returns:
- Show condition information
-
setTooltipConditions
public void setTooltipConditions(boolean tooltipConditions) Defines if condition information sould be shown in the tooltip of a task in a Process Flow.- Parameters:
tooltipConditions- Show condition information
-