]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /** @file\r |
2 | This file is used to nest elements which is meant for file path\r | |
3 | \r | |
4 | Copyright (c) 2006, Intel Corporation\r | |
5 | All rights reserved. This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | package org.tianocore.framework.tasks;\r | |
15 | \r | |
16 | /**\r | |
17 | Input class is defined to be as nested elements of other elements, to specify \r | |
18 | the path of file(s)\r | |
19 | **/\r | |
20 | public class Input {\r | |
21 | private String filePath;\r | |
22 | \r | |
23 | public Input() {\r | |
24 | \r | |
25 | }\r | |
26 | \r | |
27 | /**\r | |
28 | Standard set method of ANT task, for "file" attribute\r | |
29 | \r | |
30 | @param path The path of a file\r | |
31 | **/\r | |
32 | public void setFile(String path) {\r | |
33 | filePath = path;\r | |
34 | }\r | |
35 | \r | |
36 | /**\r | |
37 | Standard get method of ANT task, for "file" attribute\r | |
38 | \r | |
39 | @returns The path of current specified file.\r | |
40 | **/\r | |
41 | public String getFile() {\r | |
42 | return filePath;\r | |
43 | }\r | |
44 | }\r |