|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.staticexport.CmsStaticExportRfsRule
public class CmsStaticExportRfsRule
Help class for storing of rfs-rules..
| Constructor Summary | |
|---|---|
CmsStaticExportRfsRule(String name,
String description,
String source,
String rfsPrefix,
String exportPath,
Boolean useRelativeLinks)
Default constructor. |
|
CmsStaticExportRfsRule(String name,
String description,
String source,
String rfsPrefix,
String exportPath,
Boolean useRelativeLinks,
List relatedSystemRes)
Full constructor. |
|
| Method Summary | |
|---|---|
void |
addRelatedSystemRes(String regex)
Adds a regex of related system resources. |
String |
getDescription()
Returns the description. |
String |
getExportPath()
Returns the rfs export Path. |
String |
getExportPathConfigured()
Returns the configured rfs export Path with unstubstituted context values. |
String |
getName()
Returns the name. |
List |
getRelatedSystemResources()
Returns the related system resources list as list of . |
String |
getRfsPrefix()
Returns the url Prefix with macro replacement. |
String |
getRfsPrefixConfigured()
Returns the configured url Prefix with unstubstituted context values. |
Pattern |
getSource()
Returns the source regex pattern. |
Boolean |
getUseRelativeLinks()
Returns true if the links in the static export should be relative. |
boolean |
match(String vfsName)
Checks if a vfsName matches the given related system resource patterns. |
void |
setExportPath(String exportPath)
Sets the rfs export Path after normalizing. |
void |
setRfsPrefix(String rfsPrefix)
Sets the url Prefix after normalizing. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CmsStaticExportRfsRule(String name,
String description,
String source,
String rfsPrefix,
String exportPath,
Boolean useRelativeLinks)
name - the name of the ruledescription - the description for the rulesource - the source regexrfsPrefix - the url prefixexportPath - the rfs export pathuseRelativeLinks - Relative links value
public CmsStaticExportRfsRule(String name,
String description,
String source,
String rfsPrefix,
String exportPath,
Boolean useRelativeLinks,
List relatedSystemRes)
name - the name of the ruledescription - the description for the rulesource - the source regexrfsPrefix - the url prefixexportPath - the rfs export pathuseRelativeLinks - Relative links valuerelatedSystemRes - list of Patterns| Method Detail |
|---|
public void addRelatedSystemRes(String regex)
regex - the regex to addpublic String getDescription()
public String getExportPath()
public String getExportPathConfigured()
public String getName()
public List getRelatedSystemResources()
Pattern.
Patternpublic String getRfsPrefix()
public String getRfsPrefixConfigured()
public Pattern getSource()
public Boolean getUseRelativeLinks()
public boolean match(String vfsName)
vfsName - the vfs name of a resource to check
public void setExportPath(String exportPath)
exportPath - the rfs export Path to setpublic void setRfsPrefix(String rfsPrefix)
rfsPrefix - the url Prefix to setpublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||