/xservices/trunk/src/java/net/brutex/xservices/types/AttachmentType.java |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/types/ResourceSetInterface.java |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/xservices/trunk/src/java/net/brutex/xservices/types/FileSetResource.java |
---|
32,7 → 32,7 |
*/ |
@XmlType(name = "FileSetType", namespace = "http://ws.xservices.brutex.net", |
propOrder = {"type", "source", "filter", "excludes", "casesensitive"}) |
public class FileSetResource implements ResourceSetInterface { |
public class FileSetResource { |
/** |
* Type of FileSet |
71,7 → 71,7 |
* @param p Ant project |
* @return Ant FileSet for this file set. |
*/ |
public FileSet getAntResource(Project p) { |
public FileSet getAntFileSet(Project p) { |
FileSet set = null; |
switch (type) { |
case ZIP: |
106,8 → 106,7 |
/** |
* File set types. |
*/ |
@XmlEnum() |
@XmlType(name="resourcetype") |
@XmlEnum |
public enum FileSetType { |
/** |
/xservices/trunk/src/java/net/brutex/xservices/types/SelectorTypeInterface.java |
---|
1,18 → 1,7 |
/* |
* Copyright 2011 Brian Rosenberger (Brutex Network) |
* |
* Licensed under the Apache License, Version 2.0 (the "License"); |
* you may not use this file except in compliance with the License. |
* You may obtain a copy of the License at |
* |
* http://www.apache.org/licenses/LICENSE-2.0 |
* |
* Unless required by applicable law or agreed to in writing, software |
* distributed under the License is distributed on an "AS IS" BASIS, |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
* See the License for the specific language governing permissions and |
* limitations under the License. |
*/ |
/* |
* To change this template, choose Tools | Templates |
* and open the template in the editor. |
*/ |
package net.brutex.xservices.types; |
20,7 → 9,7 |
/** |
* |
* @author Brian Rosenberger |
* @author brian |
*/ |
public interface SelectorTypeInterface { |
public FileSelector getSelector(); |
/xservices/trunk/src/java/net/brutex/xservices/types/HostConnection.java |
---|
29,7 → 29,7 |
public HostConnection() { |
} |
@XmlElement(name="hostname", required=true, nillable=false) |
@XmlElement(name="hostname", required=false, nillable=false) |
public String hostname; |
@XmlElement(name="port", required=false, nillable=false) |
/xservices/trunk/src/java/net/brutex/xservices/types/ReturnCode.java |
---|
79,11 → 79,4 |
this.stdErr = stdErr; |
this.property = props; |
} |
public String getProperty(String key) { |
for(AntProperty prop : this.property) { |
if(prop.equals(key)) return prop.value; |
} |
return null; |
} |
} |
/xservices/trunk/src/java/net/brutex/xservices/types/FileResource.java |
---|
19,8 → 19,7 |
import java.io.File; |
import javax.xml.bind.annotation.XmlElement; |
import javax.xml.bind.annotation.XmlEnum; |
import javax.xml.bind.annotation.XmlType; |
import javax.xml.bind.annotation.XmlRootElement; |
import net.brutex.xservices.util.BrutexNamespaces; |
import org.apache.tools.ant.Project; |
import org.apache.tools.ant.types.Resource; |
31,10 → 30,9 |
/** |
* File based resource declaration. |
* |
* |
* @author Brian Rosenberger, bru@brutex.de |
*/ |
@XmlType(name="FileResourceType", namespace=BrutexNamespaces.WS_XSERVICES) |
@XmlRootElement(namespace=BrutexNamespaces.WS_XSERVICES, name="FileResourceType") |
public class FileResource |
implements ResourceInterface { |
/xservices/trunk/src/java/net/brutex/xservices/types/ResourceInterface.java |
---|
20,7 → 20,7 |
import org.apache.tools.ant.types.Resource; |
/** |
* Wrapper for a single file like Ant Resources. |
* Wrapper for Ant Resources. |
* |
* @author Brian Rosenberger, bru@brutex.de |
*/ |