Package it.tidalwave.actor
Class CollaborationStartedMessage
- java.lang.Object
-
- it.tidalwave.actor.MessageSupport
-
- it.tidalwave.actor.CollaborationStartedMessage
-
- All Implemented Interfaces:
Collaboration.Provider
,As
,java.io.Serializable
@Message @Immutable public class CollaborationStartedMessage extends MessageSupport
This message notifies that a newCollaboration
has been started.- Author:
- Fabrizio Giudici
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.As
As.Defaults, As.NotFoundBehaviour<T extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from class it.tidalwave.actor.MessageSupport
collaboration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CollaborationStartedMessage
forCollaboration(Collaboration collaboration)
Creates a new instance for the givenCollaboration
.org.joda.time.DateTime
getStartTime()
Returns the time when theCollaboration
has been started.-
Methods inherited from class it.tidalwave.actor.MessageSupport
as, getCollaboration, send, sendDirectly, sendLater
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.util.As
as, asMany, asOptional, maybeAs
-
-
-
-
Method Detail
-
forCollaboration
@Nonnull public static CollaborationStartedMessage forCollaboration(@Nonnull Collaboration collaboration)
Creates a new instance for the givenCollaboration
.- Parameters:
collaboration
- theCollaboration
- Returns:
- the new instance
-
getStartTime
@Nonnull public org.joda.time.DateTime getStartTime()
Returns the time when theCollaboration
has been started.- Returns:
- the start time
-
-