Subversion Repositories XServices

Rev

Rev 6 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6 Rev 10
1
/*
1
/*
2
 *   Copyright 2010 Brian Rosenberger (Brutex Network)
2
 *   Copyright 2010 Brian Rosenberger (Brutex Network)
3
 *
3
 *
4
 *   Licensed under the Apache License, Version 2.0 (the "License");
4
 *   Licensed under the Apache License, Version 2.0 (the "License");
5
 *   you may not use this file except in compliance with the License.
5
 *   you may not use this file except in compliance with the License.
6
 *   You may obtain a copy of the License at
6
 *   You may obtain a copy of the License at
7
 *
7
 *
8
 *       http://www.apache.org/licenses/LICENSE-2.0
8
 *       http://www.apache.org/licenses/LICENSE-2.0
9
 *
9
 *
10
 *   Unless required by applicable law or agreed to in writing, software
10
 *   Unless required by applicable law or agreed to in writing, software
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *   See the License for the specific language governing permissions and
13
 *   See the License for the specific language governing permissions and
14
 *   limitations under the License.
14
 *   limitations under the License.
15
 */
15
 */
16
 
16
 
17
package net.brutex.xservices.types;
17
package net.brutex.xservices.types;
18
 
18
 
19
import org.apache.tools.ant.Project;
19
import org.apache.tools.ant.Project;
20
import org.apache.tools.ant.types.Resource;
20
import org.apache.tools.ant.types.Resource;
21
 
21
 
22
/**
22
/**
-
 
23
 * Wrapper for Ant Resources.
23
 *
24
 *
24
 * @author Brian Rosenberger, bru@brutex.de
25
 * @author Brian Rosenberger, bru@brutex.de
25
 */
26
 */
26
public interface ResourceInterface {
27
public interface ResourceInterface {
-
 
28
 
-
 
29
    /**
-
 
30
     * Get this resource as Ant Resource.
-
 
31
     *
-
 
32
     * @param p     Ant project
-
 
33
     * @return      this resource as Ant Resource
27
 
34
     */
28
    Resource getAntResource(Project p);
35
    Resource getAntResource(Project p);
29
 
36
 
30
}
37
}