public class TargetEnvironment extends Object
| Constructor and Description |
|---|
TargetEnvironment() |
TargetEnvironment(String os,
String ws,
String arch) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArch()
Returns the architecture of the represented target environment.
|
String |
getOs()
Returns the operating system of the represented target environment.
|
String |
getWs()
Returns the windowing system of the represented target environment.
|
int |
hashCode() |
boolean |
match(String os,
String ws,
String arch) |
String |
toConfigSpec()
Returns the target environment as string of the form
ws.os.arch. |
HashMap<String,String> |
toFilter()
Returns the target environment as map.
|
String |
toString() |
public String getOs()
public String getWs()
public String getArch()
public String toConfigSpec()
ws.os.arch. This format is
used by the p2 publishers and in that context called "configuration" or "config spec".public HashMap<String,String> toFilter()
HashMap with the target environment setCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.