Class UssChangeTag
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssChangeTag
-
public class UssChangeTag extends Object
Provides Unix System Services (USS) chtag functionality- Version:
- 2.0
- Author:
- James Kostrewski, Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description UssChangeTag(ZosConnection connection)UssChangeTag ConstructorUssChangeTag(ZosConnection connection, ZosmfRequest request)Alternative UssChangeTag constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsebinary(String fileNamePath)Change tag of a UNIX file to binary typeResponsechangeCommon(String fileNamePath, ChangeTagParams params)Change tag of a UNIX file request driven by ChangeTagParams object settingsResponseget(String fileNamePath)Retrieve existing UNIX file tag informationResponseremove(String fileNamePath)Remove tag of a UNIX fileResponsetext(String fileNamePath, String codeSet)Change tag of a UNIX file to text type
-
-
-
Constructor Detail
-
UssChangeTag
public UssChangeTag(ZosConnection connection)
UssChangeTag Constructor- Parameters:
connection- connection information, see ZosConnection object
-
UssChangeTag
public UssChangeTag(ZosConnection connection, ZosmfRequest request)
Alternative UssChangeTag constructor with ZoweRequest object. This is mainly used for internal code unit testing with mockito, and it is not recommended to be used by the larger community.- Parameters:
connection- connection information, see ZosConnection objectrequest- any compatible ZoweRequest Interface object
-
-
Method Detail
-
binary
public Response binary(String fileNamePath)
Change tag of a UNIX file to binary type- Parameters:
fileNamePath- file name with path- Returns:
- Response Object
-
text
public Response text(String fileNamePath, String codeSet)
Change tag of a UNIX file to text type- Parameters:
fileNamePath- file name with pathcodeSet- code set name. i.e. IBM-1047- Returns:
- Response Object
-
remove
public Response remove(String fileNamePath)
Remove tag of a UNIX file- Parameters:
fileNamePath- file name with path- Returns:
- Response Object
-
get
public Response get(String fileNamePath)
Retrieve existing UNIX file tag information- Parameters:
fileNamePath- file name with path- Returns:
- Response Object
-
changeCommon
public Response changeCommon(String fileNamePath, ChangeTagParams params)
Change tag of a UNIX file request driven by ChangeTagParams object settings- Parameters:
fileNamePath- file name with pathparams- parameters for the change tag request, see ChangeTagParams object- Returns:
- Response Object
-
-