public class SloFulfillment
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmailRecipientFulfillment()
Returns the recipient of e-mails on fulfillment.
|
java.lang.String |
getEmailRecipientViolation()
Returns the recipient of e-mails on violation.
|
TaskState |
getExpectedStatus() |
Time |
getLatestEndTime() |
Time |
getLatestStartTime() |
UC4ObjectName |
getOnFulfillmentObject()
Returns the name of the object which is executed on fulfillment.
|
UC4ObjectName |
getOnViolationObject()
Returns the name of the object which is executed on violation.
|
boolean |
isConsiderEndTime() |
boolean |
isConsiderMRT() |
boolean |
isConsiderSRT() |
boolean |
isConsiderStartTime() |
boolean |
isConsiderStatus() |
boolean |
isEmailOnFulfillment() |
boolean |
isEmailOnViolation() |
boolean |
isExecuteOnFulfillment() |
boolean |
isExecuteOnViolation() |
boolean |
isFriday() |
boolean |
isMonday() |
boolean |
isSaturday() |
boolean |
isSunday() |
boolean |
isThursday() |
boolean |
isTuesday() |
boolean |
isWednesday() |
void |
setConsiderEndTime(boolean considerEndTime)
Defines if end time should be considered.
|
void |
setConsiderMRT(boolean considerMRT)
Defines if the MRT should be considered.
|
void |
setConsiderSRT(boolean considerSRT)
Defines if the SRT should be considered.
|
void |
setConsiderStartTime(boolean considerStartTime)
Defines if start time should be considered.
|
void |
setConsiderStatus(boolean considerStatus)
Defines if the status should be considered.
|
void |
setEmailOnFulfillment(boolean emailOnFulfillment)
Defines if a mail should be sent on fulfillment.
|
void |
setEmailOnViolation(boolean emailOnViolation)
Defines if a mail should be sent on violation.
|
void |
setEmailRecipientFulfillment(java.lang.String emailRecipientFulfillment)
Sets the recipient of e-mails on fulfillment.
|
void |
setEmailRecipientViolation(java.lang.String emailRecipientViolation)
Sets the recipient of e-mails on violation.
|
void |
setExecuteOnFulfillment(boolean executeOnFulfillment) |
void |
setExecuteOnViolation(boolean executeOnViolation) |
void |
setExpectedStatus(TaskState expectedStatus)
Sets the expected status for fulfillment.
|
void |
setLatestEndTime(Time latestEndTime)
Defines latest end time for fulfillment.
|
void |
setLatestStartTime(Time latestStartTime)
Defines latest start time for fulfillment.
|
void |
setOnFulfillmentObject(UC4ObjectName onFulfillmentObject)
Sets the name of the object which is executed on fulfillment.
|
void |
setOnViolationObject(UC4ObjectName onViolationObject)
Sets the name of the object which is executed on violation.
|
void |
setWeekdays(boolean mo,
boolean tu,
boolean we,
boolean th,
boolean fr,
boolean sa,
boolean su)
Sets Weekdays.
|
public boolean isConsiderMRT()
public boolean isConsiderSRT()
public boolean isConsiderStatus()
public boolean isConsiderStartTime()
public boolean isConsiderEndTime()
public boolean isSunday()
public boolean isMonday()
public boolean isTuesday()
public boolean isWednesday()
public boolean isThursday()
public boolean isFriday()
public boolean isSaturday()
public TaskState getExpectedStatus()
public Time getLatestStartTime()
public Time getLatestEndTime()
public void setConsiderMRT(boolean considerMRT)
considerMRT
- true if the maximum runtime should be considered for fulfillment.public void setConsiderSRT(boolean considerSRT)
considerSRT
- true if the minimum runtime should be considered for fulfillment.public void setConsiderStatus(boolean considerStatus)
considerStatus
- true if the status should be considered for fulfillment.public void setExpectedStatus(TaskState expectedStatus)
expectedStatus
- Expected statuspublic void setConsiderStartTime(boolean considerStartTime)
considerStartTime
- true if start time should be considered for fulfillmentpublic void setLatestStartTime(Time latestStartTime)
latestStartTime
- sets Latest start timepublic void setConsiderEndTime(boolean considerEndTime)
considerEndTime
- true if start time should be considered for fulfillmentpublic void setLatestEndTime(Time latestEndTime)
latestEndTime
- sets latest end timepublic void setWeekdays(boolean mo, boolean tu, boolean we, boolean th, boolean fr, boolean sa, boolean su)
mo
- Mondaytu
- Tuesdaywe
- Wednesdayth
- Thursdayfr
- Fridaysa
- Saturdaysu
- Sundaypublic boolean isExecuteOnFulfillment()
public void setExecuteOnFulfillment(boolean executeOnFulfillment)
executeOnFulfillment
- true if an object should be executed on fulfillment, false otherwise.public boolean isExecuteOnViolation()
public void setExecuteOnViolation(boolean executeOnViolation)
executeOnViolation
- true if an object should be executed on violation, false otherwise.public UC4ObjectName getOnFulfillmentObject()
public void setOnFulfillmentObject(UC4ObjectName onFulfillmentObject)
onFulfillmentObject
- Name, can be empty but not null.public UC4ObjectName getOnViolationObject()
public void setOnViolationObject(UC4ObjectName onViolationObject)
onViolationObject
- Name, can be empty but not null.public boolean isEmailOnFulfillment()
public void setEmailOnFulfillment(boolean emailOnFulfillment)
emailOnFulfillment
- true if a mail should be sent on fulfillmentpublic boolean isEmailOnViolation()
public void setEmailOnViolation(boolean emailOnViolation)
emailOnViolation
- true if a mail should be sent on violationpublic java.lang.String getEmailRecipientFulfillment()
public void setEmailRecipientFulfillment(java.lang.String emailRecipientFulfillment)
emailRecipientFulfillment
- mail recipients separated by ";"public java.lang.String getEmailRecipientViolation()
public void setEmailRecipientViolation(java.lang.String emailRecipientViolation)
emailRecipientViolation
- mail recipients separated by ";"