public class FolderJob extends Job
| Constructor and Description |
|---|
FolderJob() |
FolderJob(String name,
String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
createFolder(String folderName)
Create a folder on the server (as a subfolder of this folder)
|
void |
createFolder(String folderName,
Boolean crumbFlag)
Create a folder on the server (as a subfolder of this folder)
|
String |
getDisplayName() |
Job |
getJob(String name)
Get a job in this folder by name
|
Map<String,Job> |
getJobs()
Get a list of all the defined jobs in this folder
|
boolean |
isFolder()
Determine if this FolderJob object is a valid folder or not.
|
public String getDisplayName()
public boolean isFolder()
public Map<String,Job> getJobs()
public Job getJob(String name)
name - the name of the job.public void createFolder(String folderName) throws IOException
folderName - name of the folder to be created.IOException - in case of an error.public void createFolder(String folderName, Boolean crumbFlag) throws IOException
folderName - name of the folder to be created.crumbFlag - true/false.IOException - in case of an error.Copyright © 2017 JBoss by Red Hat. All rights reserved.