public class ALDOperatorLocation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ALDOperatorLocation.LocationType |
Modifier and Type | Field and Description |
---|---|
protected ALDOperatorLocationType |
locationType
Type of this location
|
protected String |
name
The name of this location in the original form, e.g. a filename
or a fully qualified class name
|
Modifier | Constructor and Description |
---|---|
protected |
ALDOperatorLocation()
Default constructor, should never be called directly!
|
Modifier and Type | Method and Description |
---|---|
static ALDOperatorLocation |
createClassLocation(String className)
Creates and returns a new location for an class extending
ALDOperator . |
ALDOperator |
createOperator()
Create an
ALDOperator form this location object. |
static ALDOperatorLocation |
createWorkflowFileLocation(String filename)
Creates and returns a new location for a file holding a work flow.
|
String |
getName()
Returns the proper name of this location
|
String[] |
getPartsOfName()
Return the parts of the name within a hierarchy,
e.g. package structure or package structure
|
protected ALDOperatorLocationType locationType
protected String name
protected ALDOperatorLocation()
public static ALDOperatorLocation createClassLocation(String className)
ALDOperator
.className
- public static ALDOperatorLocation createWorkflowFileLocation(String filename)
filename
- public String[] getPartsOfName()
public String getName()
public ALDOperator createOperator() throws ALDOperatorException, ALDWorkflowException
ALDOperator
form this location object.ALDOperatorException
- if instantiation of class failsALDWorkflowException
- if file not found or deserialization of work flow fails,ALDWorkflow.load(String)
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.