public class MiscContentItem extends ContentItem
| Constructor and Description |
|---|
MiscContentItem(String name,
List<String> path,
byte[] contentHash,
boolean directory) |
MiscContentItem(String name,
String[] path,
byte[] contentHash) |
MiscContentItem(String name,
String[] path,
byte[] contentHash,
boolean isDirectory,
boolean affectsRuntime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String[] |
getPath()
Get the relative content path.
|
String |
getRelativePath()
Get the relative path.
|
int |
hashCode() |
boolean |
isAffectsRuntime()
Affects the runtime directly.
|
boolean |
isDirectory()
Whether the item is a directory or not
|
String |
toString() |
getContentHash, getContentType, getNamepublic MiscContentItem(String name, List<String> path, byte[] contentHash, boolean directory)
public boolean isDirectory()
public boolean isAffectsRuntime()
true if it directly affects the runtime, false otherwisepublic String[] getPath()
public String getRelativePath()
getRelativePath in class ContentItempublic int hashCode()
hashCode in class ContentItempublic boolean equals(Object obj)
equals in class ContentItemCopyright © 2014 JBoss by Red Hat. All rights reserved.