Package com.e1c.g5.dt.applications
Interface IApplicationEvent
-
public interface IApplicationEvent
The event occurred in the application framework. Represents some application lifecycle or publication state changes.- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IApplicationEvent.Kind
The kind of the application change.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IApplication
getApplication()
Returns the application the event occurred with.Optional<IApplicationArtifact>
getContextArtifact()
Returns the context application artifact the event occurred with.IApplicationEvent.Kind
getKind()
Returns the kid of the occurred event.LifecycleState
getLifecycleState()
Returns the current application lifecycle state.PublishState
getPublishState()
Returns the current application publish state.
-
-
-
Method Detail
-
getApplication
IApplication getApplication()
Returns the application the event occurred with.- Returns:
- the application the event occurred with, never
null
-
getContextArtifact
Optional<IApplicationArtifact> getContextArtifact()
Returns the context application artifact the event occurred with. Empty if event occurent with application itself.- Returns:
- the optional context application artifact the event occurred with
-
getKind
IApplicationEvent.Kind getKind()
Returns the kid of the occurred event.- Returns:
- the kid of the occurred event, never
null
- See Also:
IApplicationEvent.Kind
-
getLifecycleState
LifecycleState getLifecycleState()
Returns the current application lifecycle state. May be unknown.- Returns:
- the current application lifecycle state, never
null
-
getPublishState
PublishState getPublishState()
Returns the current application publish state. May be unknown.- Returns:
- the current application publish state, never
null
-
-