gov.llnl.babel.config
public class Profile extends java.lang.Object
Profile
defines one particular machine configuration
profile for the Babel compiler. A profile consists of the following items:
Map
. Any of the above values except
the profile name and programming language name may be null if its
value was not provided from the configuration input file.Constructor and Description |
---|
Profile(java.lang.String profile_name,
java.lang.String language)
The
Profile constructor takes a profile name and a
language as string arguments. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompilerName()
Get the compiler name for which this profile is valid.
|
java.lang.String |
getCompilerVersion()
Get the compiler version number for which this profile is
valild.
|
java.util.Map |
getConfiguration()
Get the configuration information for this profile.
|
java.lang.String |
getCPU()
Get the CPU description for which the profile is valid.
|
java.lang.String |
getDescription()
Get a long HTML description of the profile.
|
java.lang.String |
getLanguage()
Return the name of the language for which this profile was
defined.
|
java.lang.String |
getOS()
Get the operating system description for which the profile is
valid.
|
java.lang.String |
getOSRelease()
Get the operating system release version for which this profile
is valid.
|
java.lang.String |
getProfileName()
Return the name of the profile as a string.
|
java.lang.String |
getSummary()
Get a brief summary of the profile.
|
void |
setCompilerName(java.lang.String compiler)
Set the compiler name for this profile.
|
void |
setCompilerVersion(java.lang.String version)
Set the compiler version for this profile.
|
void |
setConfiguration(java.util.Map configuration)
Set the configuration information for this profile.
|
void |
setCPU(java.lang.String cpu)
Set the CPU description for the profile.
|
void |
setDescription(java.lang.String description)
Set the description for the profile.
|
void |
setOS(java.lang.String os)
Set the operating system description for this profile.
|
void |
setOSRelease(java.lang.String release)
Set the operating system release for this profile.
|
void |
setSummary(java.lang.String summary)
Set the brief summary for the profile.
|
public Profile(java.lang.String profile_name, java.lang.String language)
Profile
constructor takes a profile name and a
language as string arguments. These two arguments should not be
null.public java.lang.String getProfileName()
public java.lang.String getLanguage()
public java.lang.String getSummary()
public void setSummary(java.lang.String summary)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getCPU()
public void setCPU(java.lang.String cpu)
public java.lang.String getOS()
public void setOS(java.lang.String os)
public java.lang.String getOSRelease()
public void setOSRelease(java.lang.String release)
public java.lang.String getCompilerName()
public void setCompilerName(java.lang.String compiler)
public java.lang.String getCompilerVersion()
public void setCompilerVersion(java.lang.String version)
public java.util.Map getConfiguration()
Map
of
keyword-value pairs of strings that describe the profile options
and associated selections for each option. This return may be
null if there are no valid options for this particular profile.public void setConfiguration(java.util.Map configuration)