public class PatchElementBuilder extends ModificationBuilderTarget<PatchElementBuilder> implements PatchBuilder.PatchElementHolder, RequiresCallback, IncompatibleWithCallback
| Modifier | Constructor and Description |
|---|---|
protected |
PatchElementBuilder(String patchId,
String layerName,
boolean addOn,
PatchBuilder parent) |
| Modifier and Type | Method and Description |
|---|---|
PatchElement |
createElement(Patch.PatchType patchType) |
PatchBuilder |
getParent() |
IncompatibleWithCallback |
incompatibleWith(String patchID) |
protected PatchElementBuilder |
internalAddModification(ContentModification modification) |
PatchElementBuilder |
oneOffPatch() |
PatchElementBuilder |
require(String id) |
protected PatchElementBuilder |
returnThis() |
PatchElementBuilder |
setDescription(String description) |
PatchElementBuilder |
upgrade() |
addBundle, addContentModification, addFile, addModule, createBundleItem, createContentModification, createMiscItem, createModuleItem, modifyBundle, modifyFile, modifyModule, removeBundle, removeFile, removeModule, setContentItemFilterprotected PatchElementBuilder(String patchId, String layerName, boolean addOn, PatchBuilder parent)
public PatchElementBuilder setDescription(String description)
protected PatchElementBuilder internalAddModification(ContentModification modification)
internalAddModification in class ModificationBuilderTarget<PatchElementBuilder>public IncompatibleWithCallback incompatibleWith(String patchID)
incompatibleWith in interface IncompatibleWithCallbackpublic PatchElementBuilder require(String id)
require in interface RequiresCallbackpublic PatchElementBuilder upgrade()
public PatchElementBuilder oneOffPatch()
public PatchElement createElement(Patch.PatchType patchType)
createElement in interface PatchBuilder.PatchElementHolderpublic PatchBuilder getParent()
protected PatchElementBuilder returnThis()
returnThis in class ModificationBuilderTarget<PatchElementBuilder>Copyright © 2014 JBoss by Red Hat. All rights reserved.