public class JCLEntity extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JCLEntity.Type
Enumeration enforcing that only jobs and programs are supported.
|
Constructor and Description |
---|
JCLEntity(String name,
JCLEntity.Type type)
The JCL Entity default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name.
|
JCLEntity.Type |
getType()
Get the type.
|
boolean |
isJob()
Whether this is a job.
|
boolean |
isProgram()
Whether this is a program.
|
public JCLEntity(String name, JCLEntity.Type type)
name
- - the job or program nametype
- - JOB or PROGRAMpublic boolean isJob()
public boolean isProgram()
public JCLEntity.Type getType()
public String getName()
Copyright © 2016–2022. All rights reserved.