public class SsmVerifyPackagesEvent extends java.lang.Object implements EventDatabaseMessage
Constructor and Description |
---|
SsmVerifyPackagesEvent(java.lang.Long userIdIn,
java.util.Date earliestIn,
ActionChain actionChainIn,
DataResult resultIn)
Creates a new event to trigger the action over the message queue.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getActionChainId()
Gets the Action Chain ID
|
java.util.Date |
getEarliest() |
DataResult |
getResult() |
org.hibernate.Transaction |
getTransaction()
Get the Transaction from the caller/creator of this EventMessage.
|
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 SsmVerifyPackagesEvent(java.lang.Long userIdIn, java.util.Date earliestIn, ActionChain actionChainIn, DataResult resultIn)
userIdIn
- user making the request; cannot be null
earliestIn
- used for scheduling the verification in the future;
may be null
actionChainIn
- the selected Action Chain or nullresultIn
- data describing the systems and packages to verify
cannot be null
public java.lang.Long getUserId()
EventMessage
getUserId
in interface EventMessage
null
public java.util.Date getEarliest()
null
public java.lang.Long getActionChainId()
public DataResult getResult()
null
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