public class Lifecycle extends Object implements ILifecycle
| Modifier and Type | Class and Description |
|---|---|
static class |
Lifecycle.Builder |
ILifecycle.IBuilder| Modifier and Type | Method and Description |
|---|---|
static ILifecycle |
fromJson(org.jboss.dmr.ModelNode json) |
Optional<IHandler> |
getPostStart() |
Optional<IHandler> |
getPreStop() |
String |
toJson()
The JSON representation
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJsonpublic Optional<IHandler> getPostStart()
getPostStart in interface ILifecyclepublic Optional<IHandler> getPreStop()
getPreStop in interface ILifecyclepublic String toJson()
JSONSerializeabletoJson in interface JSONSerializeablepublic static ILifecycle fromJson(org.jboss.dmr.ModelNode json)
Copyright © 2020 Red Hat, Inc. All Rights Reserved.