public class PatchElementImpl extends Object implements PatchElement
Constructor and Description |
---|
PatchElementImpl(String id) |
Modifier and Type | Method and Description |
---|---|
PatchElementImpl |
addContentModification(ContentModification modification) |
String |
getDescription()
The description of the patch element.
|
String |
getId()
Patch element identifier.
|
List<ContentModification> |
getModifications()
Get the content modifications.
|
PatchElementProvider |
getProvider()
The provider of the patch element.
|
PatchElementImpl |
setDescription(String descr) |
PatchElementImpl |
setProvider(PatchElementProvider provider) |
public PatchElementImpl(String id)
public String getId()
PatchElement
getId
in interface PatchElement
public String getDescription()
PatchElement
getDescription
in interface PatchElement
public PatchElementImpl setDescription(String descr)
public PatchElementProvider getProvider()
PatchElement
getProvider
in interface PatchElement
public PatchElementImpl setProvider(PatchElementProvider provider)
public List<ContentModification> getModifications()
PatchElement
getModifications
in interface PatchElement
public PatchElementImpl addContentModification(ContentModification modification)
Copyright © 2023 JBoss by Red Hat. All rights reserved.