public class ContentModification extends Object
Constructor and Description |
---|
ContentModification(ContentItem item,
byte[] targetHash,
ModificationType type) |
ContentModification(ContentItem item,
ContentModification existing) |
Modifier and Type | Method and Description |
---|---|
ContentItem |
getItem() |
<T extends ContentItem> |
getItem(Class<T> expected) |
byte[] |
getTargetHash() |
ModificationType |
getType() |
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()
Copyright © 2013 JBoss by Red Hat. All rights reserved.