Package dev.galasa.zos
Interface IZosImage
public interface IZosImage
Represents a zOS Image (or lpar).
Use a ZosImage
annotation to populate this field with
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the Cluster this Image belongs to@NotNull Charset
Get the code page of this zOS Image.@NotNull ICredentials
Retrieve the default credentials for the zOS Image.@NotNull String
Get the default host name for this Image@NotNull String
getHome()
Get the zOS UNIX home directory on this zOS Image for this run.@NotNull String
Get the name of the zOS Image, may be different from the SMFID@NotNull IIpHost
@NotNull String
Get the value of Java home for the image@NotNull String
Get the value of the location of the Liberty install directory@NotNull String
Get the path to the temporary zOS UNIX directory on this zOS Image for this run.@NotNull String
Get the name of the SYSNAME zOS Image.@NotNull String
Get the name of the Sysplex this Image belongs to@NotNull String
Get the value of the location of the zOS Connect EE install directory
-
Method Details
-
getImageID
Get the name of the zOS Image, may be different from the SMFID- Returns:
- The image ID, never null
-
getSysname
Get the name of the SYSNAME zOS Image. Defaults to image id- Returns:
- The SYSNAME, never null
-
getSysplexID
Get the name of the Sysplex this Image belongs to- Returns:
- the sysplex id, if the sysplexid has not been defined, the imageid will be returned
-
getClusterID
String getClusterID()Get the name of the Cluster this Image belongs to- Returns:
- a String representing the cluster the image was allocated from, if it was provisioned from a cluster
-
getCodePage
Get the code page of this zOS Image. Defaults to 037- Returns:
- The EBCDIC code page, never null
-
getDefaultHostname
Get the default host name for this Image- Returns:
- a non-null String representing the default host name
- Throws:
ZosManagerException
-
getDefaultCredentials
Retrieve the default credentials for the zOS Image.- Returns:
- The default credentials - see
ICredentials
- Throws:
ZosManagerException
- if the credentials are missing or there is a problem with the credentials store
-
getIpHost
- Returns:
- The default IP Host representing the zOS Image IP Stack
-
getHome
Get the zOS UNIX home directory on this zOS Image for this run. Same asgetRunTemporaryUNIXPath()
- Returns:
- the zOS UNIX home directory location
- Throws:
ZosManagerException
-
getRunTemporaryUNIXPath
Get the path to the temporary zOS UNIX directory on this zOS Image for this run. Same asgetHome()
- Returns:
- the Run Temporary UNIX Path location
- Throws:
ZosManagerException
-
getJavaHome
Get the value of Java home for the image- Returns:
- value of Java home
- Throws:
ZosManagerException
-
getLibertyInstallDir
Get the value of the location of the Liberty install directory- Returns:
- value of Liberty install directory
- Throws:
ZosManagerException
-
getZosConnectInstallDir
Get the value of the location of the zOS Connect EE install directory- Returns:
- value of zOS Connect EE install directory
- Throws:
ZosManagerException
-