public class RepushFromDocumentCache extends BuildGroupSpecific implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_SYNC |
java.lang.String |
prefix |
java.lang.String |
source |
boolean |
sync |
java.lang.String |
toBuildGroup |
buildGroup
Constructor and Description |
---|
RepushFromDocumentCache() |
RepushFromDocumentCache(RepushFromDocumentCache o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RepushFromDocumentCache.
|
static RepushFromDocumentCache |
fromString(java.lang.String s)
String representation of this RepushFromDocumentCache.
|
java.lang.String |
getPrefix()
URI prefix for the document enumeration from the cache.
|
java.lang.String |
getSource()
Name of the source that will be enumerated from the cache.
|
java.lang.String |
getToBuildGroup()
Name of the build group the documents will be pushed to.
|
boolean |
isSync()
Triggers a commit at the end of the push operation.
|
RepushFromDocumentCache |
makeCopy()
Creates and returns a deep copy of this RepushFromDocumentCache.
|
static RepushFromDocumentCache |
readFrom(java.io.InputStream is)
Read this RepushFromDocumentCache from an XML fragment.
|
void |
setPrefix(java.lang.String prefix)
URI prefix for the document enumeration from the cache.
|
void |
setSource(java.lang.String source)
Name of the source that will be enumerated from the cache.
|
void |
setSync(boolean sync)
Triggers a commit at the end of the push operation.
|
void |
setToBuildGroup(java.lang.String toBuildGroup)
Name of the build group the documents will be pushed to.
|
java.lang.String |
toString()
String representation of this RepushFromDocumentCache.
|
RepushFromDocumentCache |
withBuildGroup(java.lang.String buildGroup) |
RepushFromDocumentCache |
withPrefix(java.lang.String prefix) |
RepushFromDocumentCache |
withSource(java.lang.String source) |
RepushFromDocumentCache |
withSync(boolean sync) |
RepushFromDocumentCache |
withSync(java.lang.Boolean sync) |
RepushFromDocumentCache |
withToBuildGroup(java.lang.String toBuildGroup) |
void |
writeTo(java.io.OutputStream os)
Write this RepushFromDocumentCache as an XML fragment
|
getBuildGroup, setBuildGroup
public java.lang.String toBuildGroup
public java.lang.String source
public java.lang.String prefix
public boolean sync
public static final boolean DEFAULT_SYNC
public RepushFromDocumentCache()
public RepushFromDocumentCache(RepushFromDocumentCache o)
public RepushFromDocumentCache withBuildGroup(java.lang.String buildGroup)
withBuildGroup
in class BuildGroupSpecific
public void setToBuildGroup(java.lang.String toBuildGroup)
public java.lang.String getToBuildGroup()
public RepushFromDocumentCache withToBuildGroup(java.lang.String toBuildGroup)
public void setSource(java.lang.String source)
public java.lang.String getSource()
public RepushFromDocumentCache withSource(java.lang.String source)
public void setPrefix(java.lang.String prefix)
public java.lang.String getPrefix()
public RepushFromDocumentCache withPrefix(java.lang.String prefix)
public void setSync(boolean sync)
public boolean isSync()
public RepushFromDocumentCache withSync(boolean sync)
public RepushFromDocumentCache withSync(java.lang.Boolean sync)
public RepushFromDocumentCache makeCopy()
makeCopy
in class BuildGroupSpecific
public static RepushFromDocumentCache 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 RepushFromDocumentCache 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.