@DateWithCustomFormat(groups=TriggerSourceOptionsMetadata.DateHasBeenSet.class) public class TriggerSourceOptionsMetadata extends java.lang.Object implements ProfileNamesProvider, ValidationGroupsProvider
trigger
source module.Modifier and Type | Class and Description |
---|---|
static interface |
TriggerSourceOptionsMetadata.DateHasBeenSet |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_DATE |
NO_PROFILES
DEFAULT_GROUP
Constructor and Description |
---|
TriggerSourceOptionsMetadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCron() |
java.lang.String |
getDate() |
java.lang.String |
getDateFormat() |
java.lang.Integer |
getFixedDelay() |
java.lang.String |
getPayload() |
java.lang.Class<?>[] |
groupsToValidate() |
java.lang.String[] |
profilesToActivate() |
void |
setCron(java.lang.String cron) |
void |
setDate(java.lang.String date) |
void |
setDateFormat(java.lang.String dateFormat) |
void |
setFixedDelay(java.lang.Integer fixedDelay) |
void |
setPayload(java.lang.String payload) |
public static final java.lang.String DEFAULT_DATE
public java.lang.String[] profilesToActivate()
profilesToActivate
in interface ProfileNamesProvider
@Min(value=0L) public java.lang.Integer getFixedDelay()
public void setFixedDelay(java.lang.Integer fixedDelay)
@CronExpression public java.lang.String getCron()
public void setCron(java.lang.String cron)
public java.lang.String getPayload()
public void setPayload(java.lang.String payload)
@NotNull public java.lang.String getDate()
public void setDate(java.lang.String date)
@NotBlank @DateFormat public java.lang.String getDateFormat()
public void setDateFormat(java.lang.String dateFormat)
public java.lang.Class<?>[] groupsToValidate()
groupsToValidate
in interface ValidationGroupsProvider