public final class Checklist extends Object implements JsonObjectConvertible
Modifier and Type | Class and Description |
---|---|
static interface |
Checklist.JsonKeys
Json keys for Checklist.
|
Modifier and Type | Method and Description |
---|---|
InitStage |
asInitStage() |
static <T> Comparator<T> |
comparingJsonKeys(@NotNull Function<T,String> jsonKeyExtractor) |
static Checklist |
fromJson(@NotNull String moduleName,
@Nullable URL manifestUrl,
@NotNull javax.json.JsonObject json)
Create a Checklist from a JsonObject.
|
List<CheckSpec> |
getChecks() |
List<URL> |
getCndUrls() |
List<ForcedRoot> |
getForcedRoots() |
List<JcrNs> |
getJcrNamespaces() |
List<org.apache.jackrabbit.spi.QNodeTypeDefinition> |
getJcrNodetypes() |
List<String> |
getJcrPrivilegeNames() |
List<org.apache.jackrabbit.spi.PrivilegeDefinition> |
getJcrPrivileges() |
String |
getModuleName() |
String |
getName() |
List<String> |
getRepoInits() |
static Checklist.JsonKeys |
keys() |
javax.json.JsonObject |
toJson()
Serialize the Checklist to a JsonObject for writing.
|
String |
toString() |
@NotNull public static Checklist.JsonKeys keys()
public static <T> Comparator<T> comparingJsonKeys(@NotNull @NotNull Function<T,String> jsonKeyExtractor)
public String getModuleName()
public String getName()
public List<org.apache.jackrabbit.spi.QNodeTypeDefinition> getJcrNodetypes()
public List<org.apache.jackrabbit.spi.PrivilegeDefinition> getJcrPrivileges()
public List<ForcedRoot> getForcedRoots()
public InitStage asInitStage()
public javax.json.JsonObject toJson()
toJson
in interface JsonObjectConvertible
public static Checklist fromJson(@NotNull @NotNull String moduleName, @Nullable @Nullable URL manifestUrl, @NotNull @NotNull javax.json.JsonObject json)
moduleName
- module name is required at this point.manifestUrl
- manifest resource urljson
- check list blobCopyright © 2017–2020. All rights reserved.