public class InstallInfoImpl extends java.lang.Object implements InstallInfo
Modifier and Type | Field and Description |
---|---|
boolean |
finalAppServerExists |
boolean |
finalCollectionLexiconOn |
boolean |
finalDbExists |
boolean |
finalForestsExist |
boolean |
finalTripleIndexOn |
boolean |
jobAppServerExists |
boolean |
jobDbExists |
boolean |
jobForestsExist |
boolean |
modulesDbExists |
boolean |
stagingAppServerExists |
boolean |
stagingCollectionLexiconOn |
boolean |
stagingDbExists |
boolean |
stagingForestsExist |
boolean |
stagingSchemasDbExists |
boolean |
stagingTriggersDbExists |
boolean |
stagingTripleIndexOn |
Constructor and Description |
---|
InstallInfoImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
areForestsExistent(com.marklogic.hub.DatabaseKind kind)
Checks to see if the forests are present and accessible
|
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 exists)
Sets the boolean property if the app server exists for the databasekind
|
void |
setCollectionLexiconOn(com.marklogic.hub.DatabaseKind kind,
boolean collectionLexiconOn)
Sets if the collection lexicon is on or not
|
void |
setDbExistent(com.marklogic.hub.DatabaseKind kind,
boolean exists)
Sets the boolean property if the database exists for the databasekind
|
void |
setForestsExistent(com.marklogic.hub.DatabaseKind kind,
boolean forestsExistent)
Sets the boolean property if the forests exist for the databasekind
|
void |
setTripleIndexOn(com.marklogic.hub.DatabaseKind kind,
boolean tripleIndexOn)
Sets if the triple index is on or off by boolean
|
java.lang.String |
toString()
Returns the entire object as a string
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create
public boolean stagingAppServerExists
public boolean finalAppServerExists
public boolean jobAppServerExists
public boolean stagingDbExists
public boolean finalDbExists
public boolean jobDbExists
public boolean modulesDbExists
public boolean stagingSchemasDbExists
public boolean stagingTriggersDbExists
public boolean stagingTripleIndexOn
public boolean stagingCollectionLexiconOn
public boolean finalTripleIndexOn
public boolean finalCollectionLexiconOn
public boolean stagingForestsExist
public boolean finalForestsExist
public boolean jobForestsExist
public boolean isPartiallyInstalled()
InstallInfo
isPartiallyInstalled
in interface InstallInfo
public boolean isInstalled()
InstallInfo
isInstalled
in interface InstallInfo
public java.lang.String toString()
InstallInfo
toString
in interface InstallInfo
toString
in class java.lang.Object
public boolean isAppServerExistent(com.marklogic.hub.DatabaseKind kind)
InstallInfo
isAppServerExistent
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBpublic void setAppServerExistent(com.marklogic.hub.DatabaseKind kind, boolean exists)
InstallInfo
setAppServerExistent
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBexists
- - true if it exists, false if it doesn'tpublic boolean isDbExistent(com.marklogic.hub.DatabaseKind kind)
InstallInfo
isDbExistent
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBpublic void setDbExistent(com.marklogic.hub.DatabaseKind kind, boolean exists)
InstallInfo
setDbExistent
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBexists
- - true if it exists, false if it doesn'tpublic boolean isTripleIndexOn(com.marklogic.hub.DatabaseKind kind)
InstallInfo
isTripleIndexOn
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBpublic void setTripleIndexOn(com.marklogic.hub.DatabaseKind kind, boolean tripleIndexOn)
InstallInfo
setTripleIndexOn
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBtripleIndexOn
- - true if the triple index is on, false if it is notpublic boolean isCollectionLexiconOn(com.marklogic.hub.DatabaseKind kind)
InstallInfo
isCollectionLexiconOn
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBpublic void setCollectionLexiconOn(com.marklogic.hub.DatabaseKind kind, boolean collectionLexiconOn)
InstallInfo
setCollectionLexiconOn
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBcollectionLexiconOn
- - true if it's on, false if it's notpublic boolean areForestsExistent(com.marklogic.hub.DatabaseKind kind)
InstallInfo
areForestsExistent
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBpublic void setForestsExistent(com.marklogic.hub.DatabaseKind kind, boolean forestsExistent)
InstallInfo
setForestsExistent
in interface InstallInfo
kind
- - DatabaseKind enum, eg: STAGING or JOBforestsExistent
- - true if it exists, false if it doesn't