Package org.eclipse.tycho
Class TargetEnvironment
java.lang.Object
org.eclipse.tycho.TargetEnvironment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArch()Returns the architecture of the represented target environment.getOs()Returns the operating system of the represented target environment.static TargetEnvironmentgetWs()Returns the windowing system of the represented target environment.inthashCode()booleanReturns the target environment as string of the formws.os.arch.Returns the target environment as LDAP filter expression.Returns the target environment as map.toString()
-
Constructor Details
-
TargetEnvironment
public TargetEnvironment() -
TargetEnvironment
-
-
Method Details
-
getOs
Returns the operating system of the represented target environment. -
getWs
Returns the windowing system of the represented target environment. -
getArch
Returns the architecture of the represented target environment. -
match
-
toConfigSpec
Returns the target environment as string of the formws.os.arch. This format is used by the p2 publishers and in that context called "configuration" or "config spec". -
toFilterProperties
Returns the target environment as map. The keys are "osgi.ws", "osgi.os", and "osgi.arch". This format is used by the p2 slicer to filter installable units by environments.- Returns:
- a new instance of
HashMapwith the target environment set
-
toFilterExpression
Returns the target environment as LDAP filter expression. This format is used in p2 metadata.- Returns:
- the LDAP that evaluates to
truewhen installing for this target environment.
-
toString
-
hashCode
public int hashCode() -
equals
-
getRunningEnvironment
-