Package com.uc4.api.objects
Interface ITaskItem
- All Known Implementing Classes:
JobPlanTask
,ScheduleTask
public interface ITaskItem
Contains common methods of tasks in a Workflow and Schedule.
-
Method Summary
Modifier and TypeMethodDescriptioncalendar()
Gets the calendar condition of this task.getIdnr()
Returns the ID of thisor ScheduleTask
task.int
getLnr()
Returns number containing the order of activation.Gets the name of this Schedule or Workflow task.getType()
Returns the object type of this task.boolean
boolean
runtime()
Returns the runtime settings of this task.values()
Provides access to the values and PromptSets of a Schedule or Workflow task.
-
Method Details
-
getTaskName
String getTaskName()Gets the name of this Schedule or Workflow task.- Returns:
- Name of the task
-
getType
String getType()Returns the object type of this task.- Returns:
- Object type
-
calendar
TaskCalendar calendar()Gets the calendar condition of this task.- Returns:
- TaskCalendar containing the calendar conditions
-
values
TaskValues values()Provides access to the values and PromptSets of a Schedule or Workflow task.- Returns:
- Values and PromptSets
-
runtime
TaskRuntime runtime()Returns the runtime settings of this task.- Returns:
- Runtime settings
-
hasCalendarCondition
boolean hasCalendarCondition()- Returns:
- true if this task has a calendar condition.
-
hasRuntimeCondition
boolean hasRuntimeCondition()- Returns:
- true if this task has a runtime condition.
-
getIdnr
String getIdnr()Returns the ID of thisor ScheduleTask
task.- Returns:
- String containing the ID
-
getLnr
int getLnr()Returns number containing the order of activation. A task with Lnr = 1 is executed first.- Returns:
- Order of activation
-