Package io.gs2.schedule.model
Class Trigger
java.lang.Object
io.gs2.schedule.model.Trigger
- All Implemented Interfaces:
IModel,Serializable,Comparable<Trigger>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic TriggerfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetCreatedAt(Long createdAt) voidsetExpiresAt(Long expiresAt) voidvoidsetRevision(Long revision) voidsetTriggerId(String triggerId) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withExpiresAt(Long expiresAt) withRevision(Long revision) withTriggerId(String triggerId) withUserId(String userId)
-
Constructor Details
-
Trigger
public Trigger()
-
-
Method Details
-
getTriggerId
-
setTriggerId
-
withTriggerId
-
getName
-
setName
-
withName
-
getUserId
-
setUserId
-
withUserId
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getExpiresAt
-
setExpiresAt
-
withExpiresAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Trigger>
-
hashCode
public int hashCode() -
equals
-