org.opencms.workplace.tools.content.updatexml
public final class CmsUpdateXmlSettings extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CONTENTOOLS_TAGREPLACE
Property for the tag-replace contentool to know the files that have been processed before in
case of early terminaton in previous runs.
|
| Constructor and Description |
|---|
CmsUpdateXmlSettings(org.opencms.file.CmsObject cms)
Bean constructor with cms object for path validation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIncludeSubFolders()
Gets if also files in sub folders shall become processed.
|
boolean |
getOnlyCountFiles()
Gets if only count files to transform.
|
int |
getResourceType()
Gets resource type to transform.
|
java.lang.String |
getVfsFolder()
Returns the path under which files will be processed.
|
java.lang.String |
getXslFile()
Gets path to xsl file.
|
void |
setIncludeSubFolders(boolean subFolders)
Sets value if also process files in sub folders.
|
void |
setOnlyCountFiles(boolean countFiles)
Sets if only count files to transform.
|
void |
setResourceType(int resourceType)
Sets resource type to transform.
|
void |
setVfsFolder(java.lang.String vfsFolder)
Sets vfs folder to process files in.
|
void |
setXslFile(java.lang.String xslFile)
Sets path to xsl file.
|
public static final java.lang.String PROPERTY_CONTENTOOLS_TAGREPLACE
public CmsUpdateXmlSettings(org.opencms.file.CmsObject cms)
cms - used to test the working path for valididty.public boolean getIncludeSubFolders()
public boolean getOnlyCountFiles()
public int getResourceType()
public java.lang.String getVfsFolder()
public java.lang.String getXslFile()
public void setIncludeSubFolders(boolean subFolders)
throws org.opencms.main.CmsIllegalArgumentException
subFolders - True if process sub folders, tooorg.opencms.main.CmsIllegalArgumentException - if the argument is not valid.public void setOnlyCountFiles(boolean countFiles)
throws org.opencms.main.CmsIllegalArgumentException
countFiles - True, if only count files to transformorg.opencms.main.CmsIllegalArgumentException - if the argument is not valid.public void setResourceType(int resourceType)
throws org.opencms.main.CmsIllegalArgumentException
resourceType - File format to transformorg.opencms.main.CmsIllegalArgumentException - if the argument is not valid.public void setVfsFolder(java.lang.String vfsFolder)
throws org.opencms.main.CmsIllegalArgumentException
vfsFolder - The vfs folder to process files inorg.opencms.main.CmsIllegalArgumentException - if the argument is not valid.public void setXslFile(java.lang.String xslFile)
throws org.opencms.main.CmsIllegalArgumentException
xslFile - Path to xsl fileorg.opencms.main.CmsIllegalArgumentException - if the argument is not valid.