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