public class MaximumRuntime extends MinimumRuntime
Modifier and Type | Method and Description |
---|---|
MaximumRuntime |
copy()
This method is used to return the copy of the MaximumRuntime Object.
|
int |
getDays()
Returns the number of days when the task must be finished.
|
Time |
getTime()
Returns the time when the task must be finished.
|
UC4TimezoneName |
getTimezone()
Returns the time zone which is used for the current date.
|
boolean |
isMethodDate()
Returns
true if date and time are set for monitoring the maximum runtime. |
void |
setMethodDate(int days,
Time time,
UC4TimezoneName timezone)
Sets date and time for the maximum runtime.
|
getFixedValue, getPercentERT, isMethodERT, isMethodFixedValue, isMethodNone, setMethodERT, setMethodFixedValue, setMethodNone
public void setMethodDate(int days, Time time, UC4TimezoneName timezone)
A number of days and time of day are set for when the task must be finished. The starting point for the calculation of the date is the real date of the task. An action as an ELSE condition must be specified which reacts when maximum runtime is exceeded.
days
- Number of days between 0 and 99time
- Timetimezone
- Name of the timezonepublic boolean isMethodDate()
true
if date and time are set for monitoring the maximum runtime.public int getDays()
public Time getTime()
public UC4TimezoneName getTimezone()
public MaximumRuntime copy()
copy
in class MinimumRuntime
Copyright © 2021. All rights reserved.