@Immutable public final class WorkspaceAndPath extends Object
Constructor and Description |
---|
WorkspaceAndPath(String workspaceName,
Path path)
Create a new combination of a path within a named workspace.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Path |
getPath()
Get the path.
|
String |
getWorkspaceName()
Get the workspace name.
|
int |
hashCode() |
String |
toString() |
WorkspaceAndPath |
withPath(Path path)
Create a new instance that contains the current workspace name but which uses the supplied path.
|
public Path getPath()
public String getWorkspaceName()
public WorkspaceAndPath withPath(Path path)
path
- the new pathCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.