public class ClearBuildGroup extends BuildGroupSpecific implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_KEEP_INDEX_INSTANCES |
static boolean |
DEFAULT_KEEP_REPLICATED_INDEX_INSTANCES |
boolean |
keepIndexInstances |
boolean |
keepReplicatedIndexInstances |
buildGroup
Constructor and Description |
---|
ClearBuildGroup() |
ClearBuildGroup(ClearBuildGroup o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ClearBuildGroup.
|
static ClearBuildGroup |
fromString(java.lang.String s)
String representation of this ClearBuildGroup.
|
boolean |
isKeepIndexInstances()
Deletes the build chain, but keeps all index data in the indexes (both the ones sharing the builder
data and replicated ones).
It will never be possible to resume indexing on this buildgroup afterwards without launching a full reset. This option is only useful for index rotation scenarios. |
boolean |
isKeepReplicatedIndexInstances()
Keeps all index data in the replicated index instances.
Deletes the build chain and the index data for the instances using the shared builder directory, but keeps the replicated index instances. This can be used to keep the service alive while reindexing. |
ClearBuildGroup |
makeCopy()
Creates and returns a deep copy of this ClearBuildGroup.
|
static ClearBuildGroup |
readFrom(java.io.InputStream is)
Read this ClearBuildGroup from an XML fragment.
|
void |
setKeepIndexInstances(boolean keepIndexInstances)
Deletes the build chain, but keeps all index data in the indexes (both the ones sharing the builder
data and replicated ones).
It will never be possible to resume indexing on this buildgroup afterwards without launching a full reset. This option is only useful for index rotation scenarios. |
void |
setKeepReplicatedIndexInstances(boolean keepReplicatedIndexInstances)
Keeps all index data in the replicated index instances.
Deletes the build chain and the index data for the instances using the shared builder directory, but keeps the replicated index instances. This can be used to keep the service alive while reindexing. |
java.lang.String |
toString()
String representation of this ClearBuildGroup.
|
ClearBuildGroup |
withBuildGroup(java.lang.String buildGroup) |
ClearBuildGroup |
withKeepIndexInstances(boolean keepIndexInstances) |
ClearBuildGroup |
withKeepIndexInstances(java.lang.Boolean keepIndexInstances) |
ClearBuildGroup |
withKeepReplicatedIndexInstances(boolean keepReplicatedIndexInstances) |
ClearBuildGroup |
withKeepReplicatedIndexInstances(java.lang.Boolean keepReplicatedIndexInstances) |
void |
writeTo(java.io.OutputStream os)
Write this ClearBuildGroup as an XML fragment
|
getBuildGroup, setBuildGroup
public boolean keepIndexInstances
public static final boolean DEFAULT_KEEP_INDEX_INSTANCES
public boolean keepReplicatedIndexInstances
public static final boolean DEFAULT_KEEP_REPLICATED_INDEX_INSTANCES
public ClearBuildGroup()
public ClearBuildGroup(ClearBuildGroup o)
public ClearBuildGroup withBuildGroup(java.lang.String buildGroup)
withBuildGroup
in class BuildGroupSpecific
public void setKeepIndexInstances(boolean keepIndexInstances)
public boolean isKeepIndexInstances()
public ClearBuildGroup withKeepIndexInstances(boolean keepIndexInstances)
public ClearBuildGroup withKeepIndexInstances(java.lang.Boolean keepIndexInstances)
public void setKeepReplicatedIndexInstances(boolean keepReplicatedIndexInstances)
public boolean isKeepReplicatedIndexInstances()
public ClearBuildGroup withKeepReplicatedIndexInstances(boolean keepReplicatedIndexInstances)
public ClearBuildGroup withKeepReplicatedIndexInstances(java.lang.Boolean keepReplicatedIndexInstances)
public ClearBuildGroup makeCopy()
makeCopy
in class BuildGroupSpecific
public static ClearBuildGroup readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class BuildGroupSpecific
javax.xml.bind.JAXBException
java.io.IOException
public static ClearBuildGroup fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class BuildGroupSpecific
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class BuildGroupSpecific
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.