]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/PlatformIdentification.java
3 The file is used to save basic information of platform
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 package org
.tianocore
.frameworkwizard
.platform
;
21 import org
.tianocore
.frameworkwizard
.common
.Tools
;
22 import org
.tianocore
.frameworkwizard
.common
.Identifications
.Identification
;
23 import org
.tianocore
.frameworkwizard
.workspace
.Workspace
;
25 public class PlatformIdentification
extends Identification
{
27 public PlatformIdentification(String name
, String guid
, String version
, String path
){
28 super(name
, guid
, version
, path
);
31 public PlatformIdentification(Identification id
){
32 super(id
.getName(), id
.getGuid(), id
.getVersion(), id
.getPath());
35 public File
getFpdFile(){
36 File fpdFile
= new File(this.getPath());
40 public String
toString() {
41 return getName() + " " + getVersion() + " [" + Tools
.getRelativePath(getFpdFile().getPath(), Workspace
.getCurrentWorkspace()) + "]";