Subversion Repositories XServices

Rev

Rev 82 | Details | Compare with Previous | Last modification | View Log | RSS feed

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