public class LifecycleEventConfiguration extends Object implements Serializable, Cloneable
Specifies the lifecycle event configuration
Constructor and Description |
---|
LifecycleEventConfiguration() |
Modifier and Type | Method and Description |
---|---|
LifecycleEventConfiguration |
clone() |
boolean |
equals(Object obj) |
ShutdownEventConfiguration |
getShutdown()
A
ShutdownEventConfiguration object that specifies the
Shutdown event configuration. |
int |
hashCode() |
void |
setShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfiguration object that specifies the
Shutdown event configuration. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LifecycleEventConfiguration |
withShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfiguration object that specifies the
Shutdown event configuration. |
public ShutdownEventConfiguration getShutdown()
ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.public void setShutdown(ShutdownEventConfiguration shutdown)
ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.shutdown
- A ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.public LifecycleEventConfiguration withShutdown(ShutdownEventConfiguration shutdown)
ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.
Returns a reference to this object so that method calls can be chained together.
shutdown
- A ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.public String toString()
toString
in class Object
Object.toString()
public LifecycleEventConfiguration clone()
Copyright © 2015. All rights reserved.