|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.comm.filters.ISeriesAbstractFilterString
com.ibm.etools.iseries.comm.filters.ISeriesJobFilterString
public class ISeriesJobFilterString
A class representing an AS/400 Job filter string. This is a name pattern
for returning lists of AS/400 Jobs when used as input to the
JobMiner class.
Getting a list of jobs requires the name pattern for
the jobs ( a three part name: name/ user/ number)
to use in subsetting the list.
All this information can be specified by calling setName(String)
,
setNumber(String)
and the setUser(String)
methods.
Valid generic names are names with one or two asterisks
anywhere in the name, as in:
ABC*
or *ABC
or A*C
*ABC*
or *A*C
or A*C*
toString()
.
Field Summary | |
---|---|
static String |
ALL
|
static String |
copyright
|
static String |
CURRENT_USER
|
Fields inherited from class com.ibm.etools.iseries.comm.filters.ISeriesAbstractFilterString |
---|
Copyright, WILDCARD |
Constructor Summary | |
---|---|
ISeriesJobFilterString()
Constructor to use when there is no existing filter string. |
|
ISeriesJobFilterString(String input)
Constructor to use when filter string already exists. |
Method Summary | |
---|---|
boolean |
getActiveStatus()
Returns true when ONLY Active state Jobs are selected |
boolean |
getAnyStatus()
Returns true when all job states are selected. |
String |
getCurrUser()
Return the Current User name to filter on. |
boolean |
getJobqStatus()
Returns true when ONLY JOBQ state Jobs are selected |
String |
getName()
Return the job name part of this filter string. |
String |
getNumber()
Return the job name part of this filter string. |
boolean |
getOutqStatus()
Returns true when ONLY OUTQ state Jobs are selected |
String |
getSubSys()
Return the Sub System name to filter on. |
String |
getUser()
Return the job name part of this filter string. |
boolean |
isGeneric()
Returns true if current filter represents a generic name versus a scalar name. |
boolean |
isMultiGeneric()
Returns true if current filter represents a generic name that has more than one generic name part. |
void |
setActiveStatus()
Select ONLY Active state jobs |
void |
setAnyStatus()
Select all/any job states |
void |
setCurrUser(String obj)
Set the current user name filter for Active state jobs |
void |
setJobqStatus()
Select ONLY Jobq state jobs |
void |
setName(String obj)
Set the name part of this filter string. |
void |
setNumber(String obj)
Set the number part of this filter string. |
void |
setOutqStatus()
Select ONLY Outq state jobs |
void |
setSubSys(String obj)
Set the Subsystem name filter for Active state jobs |
void |
setUser(String obj)
Set the name part of this filter string. |
String |
toString()
Convert this filter into a filter string. |
Methods inherited from class com.ibm.etools.iseries.comm.filters.ISeriesAbstractFilterString |
---|
addQuotes, clone, countHostOccurrencesOf, countOccurrencesOf, createFilterStringObject, equals, hashCode, hostIndexOf, hostIndexOf, isGenericLibraryName, isGenericName, isQuoted, stripQuotes, verifyGenericName, verifyGenericNameAdvanced, verifyGenericNameAdvancedQuoted, verifyGenericNameQuoted |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String copyright
public static final String CURRENT_USER
public static final String ALL
Constructor Detail |
---|
public ISeriesJobFilterString()
public ISeriesJobFilterString(String input)
Method Detail |
---|
public String getName()
public String getUser()
public String getNumber()
public boolean getAnyStatus()
public boolean getActiveStatus()
public boolean getJobqStatus()
public boolean getOutqStatus()
public String getCurrUser()
public String getSubSys()
public void setName(String obj)
public void setUser(String obj)
public void setNumber(String obj)
public void setCurrUser(String obj)
public void setSubSys(String obj)
public void setAnyStatus()
public void setActiveStatus()
public void setJobqStatus()
public void setOutqStatus()
public String toString()
toString
in class ISeriesAbstractFilterString
public boolean isGeneric()
isGeneric
in class ISeriesAbstractFilterString
public boolean isMultiGeneric()
isMultiGeneric
in class ISeriesAbstractFilterString
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |