Package dev.galasa.cicsts
Interface ICicsRegion
- All Known Subinterfaces:
ICicsRegionProvisioned
- All Known Implementing Classes:
BaseCicsImpl
public interface ICicsRegion
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method allows a SIT parameter to be altered, but only if the provisioning tool allows it.ceci()
ceda()
cemt()
Provides a CICS resource instance that can then be used to create a specific CICS resourceRetrieve the CICS TS Region applidDescribes the type of CICS regionReturn the CICS regionIZosBatchJob
default String
getRegionProperty
(String propertyName) Allows a testcase to get a specific property about the region.getTag()
Retrieve the CICS TS Region tagRetrieve the CICS TS Region versionRetrieve the zOS Image the CICS TS region resides onboolean
void
This method removes a SIT parameter from CICS runtime JCL provided the provisioning tool allows.void
shutdown()
void
startup()
-
Method Details
-
getTag
String getTag()Retrieve the CICS TS Region tag- Returns:
- the tag of the CICS TS Region
-
getApplid
String getApplid()Retrieve the CICS TS Region applid- Returns:
- the applid of the CICS TS Region
- Throws:
CicstsManagerException
- If the applid is not available
-
getVersion
Retrieve the CICS TS Region version- Returns:
- the version of the CICS TS Region
- Throws:
CicstsManagerException
- If the version is not available
-
getZosImage
IZosImage getZosImage()Retrieve the zOS Image the CICS TS region resides on- Returns:
- the zOS Image the CICS TS region resides on
-
getMasType
MasType getMasType()Describes the type of CICS region- Returns:
- The type of CICS Region
-
cemt
- Throws:
CicstsManagerException
-
ceda
- Throws:
CicstsManagerException
-
ceci
- Throws:
CicstsManagerException
-
cicsResource
Provides a CICS resource instance that can then be used to create a specific CICS resource- Returns:
- a
ICicsResource
instance associated with this CICS region - Throws:
CicstsManagerException
-
startup
- Throws:
CicstsManagerException
-
shutdown
- Throws:
CicstsManagerException
-
isProvisionStart
boolean isProvisionStart() -
getUssHome
- Throws:
CicstsManagerException
-
getJvmProfileDir
- Throws:
CicstsManagerException
-
getJavaHome
- Throws:
CicstsManagerException
-
getRegionJob
Return the CICS regionIZosBatchJob
- Returns:
- the CICS region job
- Throws:
CicstsManagerException
-
getRunTemporaryUNIXDirectory
- Returns:
- the Run Temporary UNIX Directory for this CICS Region
- Throws:
CicstsManagerException
-
alterSit
This method allows a SIT parameter to be altered, but only if the provisioning tool allows it. The CICS TS Region must be down before this method is called.- Parameters:
sitParam
- - The SIT parameter to altersitValue
- - The value to set, null = delete parameter- Throws:
CicstsManagerException
- - If the provisioning tool does not allow SIT modification or the CICS Regions is still up
-
removeSit
This method removes a SIT parameter from CICS runtime JCL provided the provisioning tool allows. The CICS TS Region must be down before this method is called.- Parameters:
sitParam
-- Throws:
CicstsManagerException
-
getRegionProperty
Allows a testcase to get a specific property about the region. The list of properties supported will depend upon how the region was deployed/provisioned. By default, no properties are supported, but each implementation of this interface is free to provide tests with whatever values they wish to reflect this particular CICS region.- Parameters:
propertyName
- The name of the property for which the caller wishes to get a value.- Returns:
- A string value for the requested property, or null if that property value is not available.
- Throws:
CicstsManagerException
-