public class Bundle extends Object
Constructor and Description |
---|
Bundle() |
Bundle(Bundle original) |
Bundle(ToolAdapterOperatorDescriptor descriptor,
BundleType bundleType,
String targetLocation) |
Modifier and Type | Method and Description |
---|---|
TemplateParameterDescriptor |
getArgumentsParameter()
Returns the command line arguments for an installer, if any
|
BundleType |
getBundleType()
Returns the type of the bundle provided with the adapter.
|
String |
getCommandLine() |
static OSFamily |
getCurrentOS() |
String |
getDownloadURL()
Returns the download URL for this bundle.
|
String |
getEntryPoint()
Returns the entry point of the bundle.
|
BundleLocation |
getLocation()
Returns the type of the bundle location.
|
OSFamily |
getOS() |
ToolAdapterOperatorDescriptor |
getParent() |
File |
getSource()
Returns the local source of the bundle
|
String |
getTargetLocation()
Returns the target location of the bundle (i.e. the location where the bundle is supposed to be
either extracted or installed).
|
String |
getUpdateVariable()
Gets the name of the System Variable to be updated after bundle installation.
|
boolean |
isInstalled()
Checks if the bundle binaries have been installed.
|
boolean |
isLocal()
Checks if the bundle location is local or remote.
|
void |
setArgumentsParameter(TemplateParameterDescriptor value)
Sets the command line arguments for an installer
|
void |
setBundleType(BundleType bundleType)
Sets the bundle type of the adapter.
|
void |
setDownloadURL(String url)
Sets the download URL for this bundle.
|
void |
setLocation(BundleLocation value)
Sets the type of the bundle location
|
void |
setOS(OSFamily operatingSystem) |
void |
setParent(ToolAdapterOperatorDescriptor descriptor) |
void |
setSource(File value)
Sets the local source of the bundle
|
void |
setTargetLocation(String targetLocation)
Sets the target location of the bundle (i.e. the location where the bundle is supposed to be
either extracted or installed).
|
void |
setUpdateVariable(String name)
Sets the name of the System Variable to be updated after bundle installation.
|
public Bundle()
public Bundle(ToolAdapterOperatorDescriptor descriptor, BundleType bundleType, String targetLocation)
public Bundle(Bundle original)
public static OSFamily getCurrentOS()
public ToolAdapterOperatorDescriptor getParent()
public void setParent(ToolAdapterOperatorDescriptor descriptor)
public BundleType getBundleType()
BundleType
members.public void setBundleType(BundleType bundleType)
bundleType
- The type of the bundle (see BundleType
)public BundleLocation getLocation()
public void setLocation(BundleLocation value)
value
- The bundle location typepublic File getSource()
public void setSource(File value)
value
- The file representing an archive or an installerpublic String getTargetLocation()
public void setTargetLocation(String targetLocation)
public String getDownloadURL()
public void setDownloadURL(String url)
public boolean isLocal()
public boolean isInstalled()
public String getEntryPoint()
public TemplateParameterDescriptor getArgumentsParameter()
public void setArgumentsParameter(TemplateParameterDescriptor value)
public String getUpdateVariable()
public void setUpdateVariable(String name)
public OSFamily getOS()
public void setOS(OSFamily operatingSystem)
public String getCommandLine()
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.