public interface InstallInfo
Modifier and Type | Method and Description |
---|---|
boolean |
areForestsExistent(com.marklogic.hub.DatabaseKind kind)
Checks to see if the forests are present and accessible
|
static InstallInfo |
create()
Creates and returns an installinfo object
|
boolean |
isAppServerExistent(com.marklogic.hub.DatabaseKind kind)
Checks to see if the App Server is present and accessible
|
boolean |
isCollectionLexiconOn(com.marklogic.hub.DatabaseKind kind)
Checks to see if the lexicon collection is set and on
|
boolean |
isDbExistent(com.marklogic.hub.DatabaseKind kind)
Checks to see if the Database is present and accessible
|
boolean |
isInstalled()
Checks if DHF has been installed
|
boolean |
isPartiallyInstalled()
Returns if an install has been performed, but not complete
|
boolean |
isTripleIndexOn(com.marklogic.hub.DatabaseKind kind)
Checks to see if the triple index is set and on
|
void |
setAppServerExistent(com.marklogic.hub.DatabaseKind kind,
boolean stagingAppServerExists)
Sets the boolean property if the app server exists for the databasekind
|
void |
setCollectionLexiconOn(com.marklogic.hub.DatabaseKind kind,
boolean stagingCollectionLexiconOn)
Sets if the collection lexicon is on or not
|
void |
setDbExistent(com.marklogic.hub.DatabaseKind kind,
boolean stagingDbExists)
Sets the boolean property if the database exists for the databasekind
|
void |
setForestsExistent(com.marklogic.hub.DatabaseKind kind,
boolean stagingForestsExist)
Sets the boolean property if the forests exist for the databasekind
|
void |
setTripleIndexOn(com.marklogic.hub.DatabaseKind kind,
boolean stagingTripleIndexOn)
Sets if the triple index is on or off by boolean
|
java.lang.String |
toString()
Returns the entire object as a string
|
static InstallInfo create()
boolean isPartiallyInstalled()
boolean isInstalled()
java.lang.String toString()
toString
in class java.lang.Object
boolean isAppServerExistent(com.marklogic.hub.DatabaseKind kind)
kind
- - DatabaseKind enum, eg: STAGING or JOBvoid setAppServerExistent(com.marklogic.hub.DatabaseKind kind, boolean stagingAppServerExists)
kind
- - DatabaseKind enum, eg: STAGING or JOBstagingAppServerExists
- - true if it exists, false if it doesn'tboolean isDbExistent(com.marklogic.hub.DatabaseKind kind)
kind
- - DatabaseKind enum, eg: STAGING or JOBvoid setDbExistent(com.marklogic.hub.DatabaseKind kind, boolean stagingDbExists)
kind
- - DatabaseKind enum, eg: STAGING or JOBstagingDbExists
- - true if it exists, false if it doesn'tboolean isTripleIndexOn(com.marklogic.hub.DatabaseKind kind)
kind
- - DatabaseKind enum, eg: STAGING or JOBvoid setTripleIndexOn(com.marklogic.hub.DatabaseKind kind, boolean stagingTripleIndexOn)
kind
- - DatabaseKind enum, eg: STAGING or JOBstagingTripleIndexOn
- - true if the triple index is on, false if it is notboolean isCollectionLexiconOn(com.marklogic.hub.DatabaseKind kind)
kind
- - DatabaseKind enum, eg: STAGING or JOBvoid setCollectionLexiconOn(com.marklogic.hub.DatabaseKind kind, boolean stagingCollectionLexiconOn)
kind
- - DatabaseKind enum, eg: STAGING or JOBstagingCollectionLexiconOn
- - true if it's on, false if it's notboolean areForestsExistent(com.marklogic.hub.DatabaseKind kind)
kind
- - DatabaseKind enum, eg: STAGING or JOBvoid setForestsExistent(com.marklogic.hub.DatabaseKind kind, boolean stagingForestsExist)
kind
- - DatabaseKind enum, eg: STAGING or JOBstagingForestsExist
- - true if it exists, false if it doesn't