public class NodeFile extends Object
| Constructor and Description |
|---|
NodeFile(hudson.FilePath filePath)
Node file abstraction constructor
|
NodeFile(NodeFile nodeFile,
String relative)
Node file abstraction constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete the current node file
|
boolean |
exists()
Determines if the target node file exists
|
hudson.FilePath |
getFilePath() |
boolean |
isDirectory()
Determines if this node file is a directory
|
void |
mkdir()
Create the folder
|
void |
setFilePath(hudson.FilePath filePath) |
public NodeFile(hudson.FilePath filePath)
filePath - public boolean exists()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic boolean delete()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void mkdir()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic boolean isDirectory()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic hudson.FilePath getFilePath()
public void setFilePath(hudson.FilePath filePath)
filePath - the filePath to setCopyright © 2016–2017. All rights reserved.