public class ContentModification extends Object
Constructor and Description |
---|
ContentModification(ContentItem item,
byte[] targetHash,
ModificationType type) |
ContentModification(ContentItem item,
byte[] targetHash,
ModificationType type,
ModificationCondition condition) |
ContentModification(ContentItem item,
ContentModification existing) |
Modifier and Type | Method and Description |
---|---|
ModificationCondition |
getCondition()
Condition which has to be satisfied for this modification to be applied
to the target installation.
|
ContentItem |
getItem() |
<T extends ContentItem> |
getItem(Class<T> expected) |
byte[] |
getTargetHash() |
ModificationType |
getType() |
public ContentModification(ContentItem item, byte[] targetHash, ModificationType type, ModificationCondition condition)
public ContentModification(ContentItem item, byte[] targetHash, ModificationType type)
public ContentModification(ContentItem item, ContentModification existing)
public ContentItem getItem()
public <T extends ContentItem> T getItem(Class<T> expected)
public byte[] getTargetHash()
public ModificationType getType()
public ModificationCondition getCondition()
Copyright © 2023 JBoss by Red Hat. All rights reserved.