Package dev.galasa.cicsts
Interface ICemt
public interface ICemt
-
Method Summary
Modifier and TypeMethodDescriptionvoiddiscardResource(@NotNull ICicsTerminal cemtTerminal, @NotNull String resourceType, @NotNull String resourceName) Discards a specified resource and throws an exception if the specified search text is not found on the terminal.inquireResource(@NotNull ICicsTerminal cemtTerminal, @NotNull String resourceType, @NotNull String resourceName) Inquire a CEMT resource using the resource type and name.booleanperformSystemProperty(@NotNull ICicsTerminal cemtTerminal, @NotNull String systemArea, @NotNull String setRequest, @NotNull String expectedResponse) setResource(@NotNull ICicsTerminal cemtTerminal, @NotNull String resourceType, String resourceName, @NotNull String action) Set the state of a CEMT resource using the resource type and name.
-
Method Details
-
inquireResource
CicstsHashMap inquireResource(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String resourceType, @NotNull @NotNull String resourceName) throws CemtException Inquire a CEMT resource using the resource type and name. This does not support inquiries of multiple resources at once.- Parameters:
cemtTerminal- anITerminalobject logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issueCEOT TRANIDONLYresourceType- aStringof the resource type you are looking for.resourceName- aStringof the name of the resource you are looking for.- Returns:
- null if the resource is not found.
- Throws:
CemtException
-
setResource
CicstsHashMap setResource(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String resourceType, String resourceName, @NotNull @NotNull String action) throws CemtException Set the state of a CEMT resource using the resource type and name.- Parameters:
cemtTerminal- anITerminalobject logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issueCEOT TRANIDONLYresourceType- aStringof the type of resource you want to set.resourceName- aStringof the name of the resource you want to set. Can benullfor exampleSET DB2CONN ....action- aStringof the action you want to perform on the resource.- Returns:
- a
CicstsHashMapobject containing all of the properties of the resource. - Throws:
CemtException
-
discardResource
void discardResource(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String resourceType, @NotNull @NotNull String resourceName) throws CemtException Discards a specified resource and throws an exception if the specified search text is not found on the terminal.- Parameters:
cemtTerminal- anITerminalobject logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issueCEOT TRANIDONLYresourceType- aStringof the type of resource you want to discard.resourceName- aStringof the name of the resource you want to discard.- Throws:
CemtException
-
performSystemProperty
boolean performSystemProperty(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String systemArea, @NotNull @NotNull String setRequest, @NotNull @NotNull String expectedResponse) throws CemtException - Parameters:
cemtTerminal- anITerminalobject logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issueCEOT TRANIDONLYsystemArea- aStringthe specifies the system area.setRequest-expectedResponse-- Returns:
- boolean
- Throws:
CemtException
-