public class OpCandidate extends Object
OpRef
and
an OpInfo
, as computed by the OpMatchingService
.OpMatchingService
Modifier and Type | Class and Description |
---|---|
static class |
OpCandidate.StatusCode |
Constructor and Description |
---|
OpCandidate(OpEnvironment ops,
OpRef ref,
OpInfo info) |
Modifier and Type | Method and Description |
---|---|
CommandInfo |
cInfo()
Gets the
CommandInfo metadata describing the op to match against. |
Object[] |
getArgs() |
Module |
getModule()
Gets the module instance associated with the attempted match.
|
OpRef |
getRef()
Gets the op reference describing the desired match.
|
String |
getStatus()
Gets a descriptive status message in human readable form.
|
OpCandidate.StatusCode |
getStatusCode()
Gets the matching status code.
|
ModuleItem<?> |
getStatusItem()
Gets the status item related to the matching status, if any.
|
String |
getStatusMessage()
Gets a message elaborating on the matching status, if any.
|
List<ModuleItem<?>> |
inputs()
Gets the op's input parameters.
|
OpInfo |
opInfo()
Gets the
OpInfo metadata describing the op to match against. |
OpEnvironment |
ops()
Gets the op execution environment of the desired match.
|
List<ModuleItem<?>> |
outputs()
Gets the op's output parameters.
|
void |
setArgs(Object[] args) |
void |
setModule(Module module)
Sets the module instance associated with the attempted match.
|
void |
setStatus(OpCandidate.StatusCode code)
Sets the status of the matching attempt.
|
void |
setStatus(OpCandidate.StatusCode code,
String message)
Sets the status of the matching attempt.
|
void |
setStatus(OpCandidate.StatusCode code,
String message,
ModuleItem<?> item)
Sets the status of the matching.
|
String |
toString() |
public OpCandidate(OpEnvironment ops, OpRef ref, OpInfo info)
public OpEnvironment ops()
public OpRef getRef()
public CommandInfo cInfo()
CommandInfo
metadata describing the op to match against.OpInfo.cInfo()
public List<ModuleItem<?>> inputs()
public List<ModuleItem<?>> outputs()
public void setModule(Module module)
public Module getModule()
public void setStatus(OpCandidate.StatusCode code)
public void setStatus(OpCandidate.StatusCode code, String message)
public void setStatus(OpCandidate.StatusCode code, String message, ModuleItem<?> item)
public OpCandidate.StatusCode getStatusCode()
public String getStatusMessage()
public ModuleItem<?> getStatusItem()
public String getStatus()
public Object[] getArgs()
public void setArgs(Object[] args)
Copyright © 2014–2022 ImageJ. All rights reserved.