|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.system.plugin.model.CopyFileType
public class CopyFileType
The name of a file in the plugin archive that should be copied into the server installation tree somewhere when the plugin is installed. There may be a path component (relative to the root of the plugin archive), though that will not be used to construct the destination location. For example:
<?xml version="1.0" encoding="UTF-8"?><copy-file xmlns:atts="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:list="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xs="http://www.w3.org/2001/XMLSchema" dest-dir="var/security/keystores" relative-to="server"> resources/keystores/my-keystore </copy-file>This will copy the file resources/keystores/my-keystore to e.g. var/security/keystores/my-keystore
Java class for copy-fileType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="copy-fileType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="dest-dir" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="relative-to" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="geronimo"/> <enumeration value="server"/> </restriction> </simpleType> </attribute> </extension> </simpleContent> </complexType>
Field Summary | |
---|---|
protected String |
destDir
|
protected String |
relativeTo
|
protected String |
value
|
Constructor Summary | |
---|---|
CopyFileType()
|
Method Summary | |
---|---|
String |
getDestDir()
Gets the value of the destDir property. |
String |
getRelativeTo()
Gets the value of the relativeTo property. |
String |
getValue()
Gets the value of the value property. |
void |
setDestDir(String value)
Sets the value of the destDir property. |
void |
setRelativeTo(String value)
Sets the value of the relativeTo property. |
void |
setValue(String value)
Sets the value of the value property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String value
protected String destDir
protected String relativeTo
Constructor Detail |
---|
public CopyFileType()
Method Detail |
---|
public String getValue()
String
public void setValue(String value)
value
- allowed object is
String
public String getDestDir()
String
public void setDestDir(String value)
value
- allowed object is
String
public String getRelativeTo()
String
public void setRelativeTo(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |