class MaterialCoreImpl extends java.lang.Object
| Type | Name and description |
|---|---|
java.lang.String |
description |
static org.slf4j.Logger |
logger_ |
| Constructor and description |
|---|
MaterialCoreImpl
(java.nio.file.Path baseDir, java.lang.String jsonText)construct a MaterialCoreImpl with a json text which was created by the toJsonText() of its own. |
MaterialCoreImpl
(java.nio.file.Path baseDir, java.nio.file.Path path)@param baseDir of the 'Materials' directory |
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
compareTo(MaterialCore other) |
|
boolean |
equals(java.lang.Object obj) |
|
boolean |
fileExists() |
|
java.nio.file.Path |
getBaseDir() |
|
java.lang.String |
getDescription() |
|
java.lang.String |
getEncodedHrefRelativeToRepositoryRoot() |
|
java.lang.String |
getHrefRelativeToRepositoryRoot() |
|
java.nio.file.Path |
getPath() |
|
java.nio.file.Path |
getPathRelativeToRepositoryRoot() |
|
int |
hashCode() |
|
void |
setDescription(java.lang.String description) |
|
java.lang.String |
toJsonText() |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
construct a MaterialCoreImpl with a json text which was created by the toJsonText() of its own. Only the path property will be picked up from the json text, while the 1st argument baseDir is required.
baseDir - Path of the 'Materials' directoryjsonText -
baseDir - of the 'Materials' directorypath - of the Material fileGroovy Documentation