public class ApplyConfiguration
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
applyPostRestarts |
java.lang.String |
author |
java.lang.String |
comment |
static boolean |
DEFAULT_APPLY_POST_RESTARTS |
static boolean |
DEFAULT_FORCE_IF_DOWN |
static boolean |
DEFAULT_IGNORE_PREVIOUS_VERSION |
static boolean |
DEFAULT_TEST |
static boolean |
DEFAULT_WRITE_ONLY |
boolean |
forceIfDown |
boolean |
ignorePreviousVersion |
StoreEntryList |
storeEntryList |
boolean |
test |
boolean |
writeOnly |
Constructor and Description |
---|
ApplyConfiguration() |
ApplyConfiguration(ApplyConfiguration o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ApplyConfiguration.
|
static ApplyConfiguration |
fromString(java.lang.String s)
String representation of this ApplyConfiguration.
|
java.lang.String |
getAuthor()
User applying the configuration.
|
java.lang.String |
getComment()
Use this field to describe the changes of this new version.
|
StoreEntryList |
getStoreEntryList() |
boolean |
isApplyPostRestarts()
Should the process restarts flagged as being executable
independently be processed right now?
Note that using this can lead to search service down time. |
boolean |
isForceIfDown()
Should the configuration be applied even if some hosts are down?
This option should be used with extreme care. |
boolean |
isIgnorePreviousVersion()
Ignores the previous version of the configuration.
This means that the configuration application will not take into account all configuration changes. You will need to restart relevant processes manually. |
boolean |
isTest()
Should the configuration be only tested.
|
boolean |
isWriteOnly()
EXPERT ONLY
Should the configuration be written to disk only.
This parameter is used by the installer process. |
ApplyConfiguration |
makeCopy()
Creates and returns a deep copy of this ApplyConfiguration.
|
static ApplyConfiguration |
readFrom(java.io.InputStream is)
Read this ApplyConfiguration from an XML fragment.
|
void |
setApplyPostRestarts(boolean applyPostRestarts)
Should the process restarts flagged as being executable
independently be processed right now?
Note that using this can lead to search service down time. |
void |
setAuthor(java.lang.String author)
User applying the configuration.
|
void |
setComment(java.lang.String comment)
Use this field to describe the changes of this new version.
|
void |
setForceIfDown(boolean forceIfDown)
Should the configuration be applied even if some hosts are down?
This option should be used with extreme care. |
void |
setIgnorePreviousVersion(boolean ignorePreviousVersion)
Ignores the previous version of the configuration.
This means that the configuration application will not take into account all configuration changes. You will need to restart relevant processes manually. |
void |
setStoreEntryList(StoreEntryList storeEntryList) |
void |
setTest(boolean test)
Should the configuration be only tested.
|
void |
setWriteOnly(boolean writeOnly)
EXPERT ONLY
Should the configuration be written to disk only.
This parameter is used by the installer process. |
java.lang.String |
toString()
String representation of this ApplyConfiguration.
|
ApplyConfiguration |
withApplyPostRestarts(boolean applyPostRestarts) |
ApplyConfiguration |
withApplyPostRestarts(java.lang.Boolean applyPostRestarts) |
ApplyConfiguration |
withAuthor(java.lang.String author) |
ApplyConfiguration |
withComment(java.lang.String comment) |
ApplyConfiguration |
withForceIfDown(boolean forceIfDown) |
ApplyConfiguration |
withForceIfDown(java.lang.Boolean forceIfDown) |
ApplyConfiguration |
withIgnorePreviousVersion(boolean ignorePreviousVersion) |
ApplyConfiguration |
withIgnorePreviousVersion(java.lang.Boolean ignorePreviousVersion) |
ApplyConfiguration |
withStoreEntryList(StoreEntryList storeEntryList) |
ApplyConfiguration |
withTest(boolean test) |
ApplyConfiguration |
withTest(java.lang.Boolean test) |
ApplyConfiguration |
withWriteOnly(boolean writeOnly) |
ApplyConfiguration |
withWriteOnly(java.lang.Boolean writeOnly) |
void |
writeTo(java.io.OutputStream os)
Write this ApplyConfiguration as an XML fragment
|
public StoreEntryList storeEntryList
public boolean test
public static final boolean DEFAULT_TEST
public boolean writeOnly
public static final boolean DEFAULT_WRITE_ONLY
public boolean applyPostRestarts
public static final boolean DEFAULT_APPLY_POST_RESTARTS
public boolean forceIfDown
public static final boolean DEFAULT_FORCE_IF_DOWN
public boolean ignorePreviousVersion
public static final boolean DEFAULT_IGNORE_PREVIOUS_VERSION
public java.lang.String comment
public java.lang.String author
public ApplyConfiguration()
public ApplyConfiguration(ApplyConfiguration o)
public void setStoreEntryList(StoreEntryList storeEntryList)
public StoreEntryList getStoreEntryList()
public ApplyConfiguration withStoreEntryList(StoreEntryList storeEntryList)
public void setTest(boolean test)
public boolean isTest()
public ApplyConfiguration withTest(boolean test)
public ApplyConfiguration withTest(java.lang.Boolean test)
public void setWriteOnly(boolean writeOnly)
public boolean isWriteOnly()
public ApplyConfiguration withWriteOnly(boolean writeOnly)
public ApplyConfiguration withWriteOnly(java.lang.Boolean writeOnly)
public void setApplyPostRestarts(boolean applyPostRestarts)
public boolean isApplyPostRestarts()
public ApplyConfiguration withApplyPostRestarts(boolean applyPostRestarts)
public ApplyConfiguration withApplyPostRestarts(java.lang.Boolean applyPostRestarts)
public void setForceIfDown(boolean forceIfDown)
public boolean isForceIfDown()
public ApplyConfiguration withForceIfDown(boolean forceIfDown)
public ApplyConfiguration withForceIfDown(java.lang.Boolean forceIfDown)
public void setIgnorePreviousVersion(boolean ignorePreviousVersion)
public boolean isIgnorePreviousVersion()
public ApplyConfiguration withIgnorePreviousVersion(boolean ignorePreviousVersion)
public ApplyConfiguration withIgnorePreviousVersion(java.lang.Boolean ignorePreviousVersion)
public void setComment(java.lang.String comment)
public java.lang.String getComment()
public ApplyConfiguration withComment(java.lang.String comment)
public void setAuthor(java.lang.String author)
public java.lang.String getAuthor()
public ApplyConfiguration withAuthor(java.lang.String author)
public ApplyConfiguration makeCopy()
public static ApplyConfiguration 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
javax.xml.bind.JAXBException
java.io.IOException
public static ApplyConfiguration 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 java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.