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 null
revisionMappingsIn
- files revisions to work withsystemsIn
- target systemstypeIn
- type of scheduled actionearliestIn
- used for scheduling the verification in the future;
may be null
actionChainIn
- the selected Action Chain or null
cannot be null
public java.lang.Long getUserId()
EventMessage
getUserId
in interface EventMessage
null
public 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()
null
public java.lang.Long getActionChainId()
public java.lang.String toText()
toText
in interface EventMessage
public java.lang.String toString()
toString
in class java.lang.Object
public org.hibernate.Transaction getTransaction()
getTransaction
in interface EventDatabaseMessage