public class SsmConfigFilesEvent extends java.lang.Object implements EventDatabaseMessage
| Constructor and Description |
|---|
SsmConfigFilesEvent(java.lang.Long userIdIn,
java.util.Map<java.lang.Long,java.util.Collection<java.lang.Long>> revisionMappingsIn,
java.util.Collection<java.lang.Long> systemsIn,
ActionType typeIn,
java.util.Date earliestIn,
ActionChain actionChainIn)
Creates a new event to trigger the action over the message queue.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getActionChainId() |
java.util.Date |
getEarliest() |
java.util.Map<java.lang.Long,java.util.Collection<java.lang.Long>> |
getRevisionMappings() |
java.util.Collection<java.lang.Long> |
getSystemIds() |
org.hibernate.Transaction |
getTransaction()
Get the Transaction from the caller/creator of this EventMessage.
|
ActionType |
getType() |
java.lang.Long |
getUserId()
Get the user that scheduled the Event (needed to initialize logging)
|
java.lang.String |
toString() |
java.lang.String |
toText()
Convert the internal representation to a text string
|
public SsmConfigFilesEvent(java.lang.Long userIdIn,
java.util.Map<java.lang.Long,java.util.Collection<java.lang.Long>> revisionMappingsIn,
java.util.Collection<java.lang.Long> systemsIn,
ActionType typeIn,
java.util.Date earliestIn,
ActionChain actionChainIn)
userIdIn - user making the request; cannot be nullrevisionMappingsIn - files revisions to work withsystemsIn - target systemstypeIn - type of scheduled actionearliestIn - used for scheduling the verification in the future;
may be nullactionChainIn - the selected Action Chain or null
cannot be nullpublic java.lang.Long getUserId()
EventMessagegetUserId in interface EventMessagenullpublic java.util.Map<java.lang.Long,java.util.Collection<java.lang.Long>> getRevisionMappings()
public java.util.Collection<java.lang.Long> getSystemIds()
public ActionType getType()
public java.util.Date getEarliest()
nullpublic java.lang.Long getActionChainId()
public java.lang.String toText()
toText in interface EventMessagepublic java.lang.String toString()
toString in class java.lang.Objectpublic org.hibernate.Transaction getTransaction()
getTransaction in interface EventDatabaseMessage