org.apache.geronimo.system.plugin.model
Class CopyFileType

java.lang.Object
  extended by org.apache.geronimo.system.plugin.model.CopyFileType
All Implemented Interfaces:
Serializable

public class CopyFileType
extends Object
implements Serializable

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>
 

See Also:
Serialized Form

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

value

protected String value

destDir

protected String destDir

relativeTo

protected String relativeTo
Constructor Detail

CopyFileType

public CopyFileType()
Method Detail

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getDestDir

public String getDestDir()
Gets the value of the destDir property.

Returns:
possible object is String

setDestDir

public void setDestDir(String value)
Sets the value of the destDir property.

Parameters:
value - allowed object is String

getRelativeTo

public String getRelativeTo()
Gets the value of the relativeTo property.

Returns:
possible object is String

setRelativeTo

public void setRelativeTo(String value)
Sets the value of the relativeTo property.

Parameters:
value - allowed object is String


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.