878ddf1f |
1 | /** @file\r |
2 | This file is to define common interfaces for nested element of frameworktasks\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 | import java.io.File;\r |
17 | import java.util.List;\r |
18 | \r |
19 | /**\r |
20 | Interface NestElement is just to define common interfaces for nested element\r |
21 | **/\r |
22 | public interface NestElement {\r |
23 | /**\r |
24 | nested element Interface for up-casting \r |
25 | **/\r |
26 | \r |
27 | public String getName();\r |
28 | \r |
29 | public void setName(String name);\r |
30 | \r |
31 | public String toString();\r |
32 | \r |
33 | public File getFile();\r |
34 | \r |
35 | public void setFile(File file);\r |
36 | \r |
37 | public void setList(String fileNameList);\r |
38 | \r |
39 | public List<String> getList();\r |
40 | }\r |