| Modifier and Type | Field and Description |
|---|---|
static Comparator<Info> |
RESOURCE_COMPARATOR
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreationDate()
Returns the
Date when the resource was created. |
Date |
getLastModifiedDate()
Returns the
Date when the resource was last modified. |
Optional<String> |
getLockOwner()
Returns a name of the lock owner.
|
Optional<LockToken> |
getLockToken()
Returns a lock-token.
|
Optional<String> |
getMd5()
Returns a MD5 checksum of the resource.
|
ResourceProperty[] |
getProperties()
Returns an array of the custom
ResourceProperty. |
UUID |
getRepositoryId()
Returns a globally unique identifier of the repository.
|
Resource |
getResource()
Returns a
Resource of the resource (relative to the root of the repository). |
Revision |
getRevision()
Returns a
Revision of the resource. |
boolean |
isDirectory()
Determines if the resource is a directory.
|
boolean |
isFile()
Determines if the resource is a file.
|
boolean |
isLocked()
Determines if the resource is locked.
|
static final Comparator<Info> RESOURCE_COMPARATOR
Date getCreationDate()
Date when the resource was created.Date when the resource was createdDate getLastModifiedDate()
Date when the resource was last modified.Date when the resource was last modifiedOptional<String> getLockOwner()
Optional<LockToken> getLockToken()
Optional<String> getMd5()
ResourceProperty[] getProperties()
ResourceProperty.ResourceProperty or an empty array if there a nonUUID getRepositoryId()
Resource getResource()
Resource of the resource (relative to the root of the repository).Resource of the resource (relative to the root of the repository)Revision getRevision()
Revision of the resource.Revision of the resourceboolean isDirectory()
true if the resource is a directory otherwise falseboolean isFile()
true if the resource is a file otherwise falseboolean isLocked()
true if the resource is locked otherwise falseCopyright © 2013–2017 shadowhunt. All rights reserved.