public static class GarbageCollectionEvent.Builder extends InternalEvent.InternalEventBuilder<GarbageCollectionEvent>
nodeName
name, parentBuilder
Constructor and Description |
---|
Builder(Node.Builder parentBuilder,
GarbageCollectionEvent instance)
Constructor
|
Builder(Node.Builder parentBuilder,
String name,
String nodeName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
GarbageCollectionEvent |
build()
This method should be implemented by all of the builders and should build the object that this builder is
responsible for
|
protected void |
returnToParent(GarbageCollectionEvent builtObj)
This method should be implemented by all of the builders and should call a method in the parent builder to add
the built object to the parent builder
|
getNodeName
and, getName
public Builder(Node.Builder parentBuilder, String name, String nodeName)
parentBuilder
- the parent builder object for this buildername
- the name of the garbage collection event to be builtnodeName
- the node name to apply garbage collection inpublic Builder(Node.Builder parentBuilder, GarbageCollectionEvent instance)
parentBuilder
- the parent builder object for this builderinstance
- a garbage collection event object instance to be changedpublic GarbageCollectionEvent build()
DeploymentEntity.BuilderBase
build
in class DeploymentEntity.BuilderBase<GarbageCollectionEvent,Node.Builder>
protected void returnToParent(GarbageCollectionEvent builtObj)
DeploymentEntity.BuilderBase
returnToParent
in class DeploymentEntity.BuilderBase<GarbageCollectionEvent,Node.Builder>
Copyright © 2019. All rights reserved.