edu.jhu.ece.iacl.jist.pipeline.parameter
Class ParamExecutable

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.PipePort<T>
      extended by edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel<java.io.File>
          extended by edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile
              extended by edu.jhu.ece.iacl.jist.pipeline.parameter.ParamExecutable
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<ParamModel>

public class ParamExecutable
extends ParamFile

Executable file parameter.

Author:
Blake Lucas (bclucas@jhu.edu)

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile
ParamFile.DialogType
 
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort
PipePort.PortListener, PipePort.type
 
Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile
dialogType, extensionFilter, file, uri
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel
cliTag, description, factory, hidden, label, loadAndSaveOnValidate, mandatory, shortLabel
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort
connectible, gport, incomingConnectors, listeners, maxIncoming, maxOutgoing, outgoingConnectors, owner, portType, useWire
 
Constructor Summary
ParamExecutable(java.io.File f)
          Default constructor.
ParamExecutable(java.net.URI f)
          Default constructor.
 
Method Summary
 ParamExecutable clone()
          Clone parameter.
 void init()
          Initialize parameter.
 boolean isCompatible(PipePort port)
          Always returns false.
 void validate()
          Validate parameter.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile
clean, compareTo, getDialogType, getExtensionFilter, getHumanReadableDataType, getURI, getValue, getXMLValue, probeDefaultValue, replacePath, setExtensionFilter, setValue, setValue, setValue, setXMLValue, toString, translatePath
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel
createMipavParameter, createTreeNode, dispose, equals, getCliTag, getDescription, getFactory, getInputView, getLabel, getName, getOutputView, getShortLabel, getView, hide, importMipavParameter, importParameter, isConnectible, isHidden, isMandatory, loadResources, loadResources, read, read, saveResources, setCliTag, setDescription, setFactory, setHidden, setInputView, setLabel, setLoadAndSaveOnValidate, setMandatory, setName, setOutputView, setShortLabel, toXML, write, write, writeAndFreeNow
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort
addListener, disconnect, disconnect, disconnect, disconnect, getGraphPort, getIncomingConnector, getIncomingConnectors, getIncomingPorts, getListeners, getMaxIncoming, getMaxOutgoing, getOutgoingConnector, getOutgoingConnectors, getOutgoingPorts, getOwner, getPortType, isConnected, isConnectedTo, isInputPort, isOutputPort, notifyListenersOfConnection, notifyListenersOfDisconnection, removeAllListeners, removeListener, setConnectable, setGraphPort, setMaxIncoming, setMaxOutgoing, setOwner, setPortType, setUseConnector, usingConnector
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParamExecutable

public ParamExecutable(java.io.File f)
Default constructor.

Parameters:
f - default constructor

ParamExecutable

public ParamExecutable(java.net.URI f)
Default constructor.

Parameters:
f - default constructor
Method Detail

clone

public ParamExecutable clone()
Clone parameter.

Overrides:
clone in class ParamFile
Returns:
the param executable

init

public void init()
Initialize parameter.

Overrides:
init in class ParamFile

isCompatible

public boolean isCompatible(PipePort port)
Always returns false. An executable port cannot be connected to another port.

Overrides:
isCompatible in class ParamFile
Parameters:
port - the port
Returns:
true, if checks if is compatible

validate

public void validate()
              throws InvalidParameterException
Validate parameter.

Overrides:
validate in class ParamFile
Throws:
InvalidParameterException - the invalid parameter exception