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, getName
public MiscContentItem(String name, List<String> path, byte[] contentHash, boolean directory)
public boolean isDirectory()
public boolean isAffectsRuntime()
true
if it directly affects the runtime, false otherwise
public String[] getPath()
public String getRelativePath()
getRelativePath
in class ContentItem
public int hashCode()
hashCode
in class ContentItem
public boolean equals(Object obj)
equals
in class ContentItem
Copyright © 2023 JBoss by Red Hat. All rights reserved.