Class OpCandidate


  • public class OpCandidate
    extends Object
    Container class for a possible operation match between an OpRequest and an OpInfo.
    Author:
    Curtis Rueden, Gabriel Selzer
    • Method Detail

      • env

        public OpEnvironment env()
        Gets the op execution environment of the desired match.
      • getRequest

        public OpRequest getRequest()
        Gets the op request describing the desired match.
      • opInfo

        public OpInfo opInfo()
        Gets the OpInfo metadata describing the op to match against.
      • getType

        public Type getType()
        Gets the reified Type of the Op described by this candidate.
      • priority

        public double priority()
        Gets the priority of this result
      • paddedArgs

        public Type[] paddedArgs()
      • getStatusItem

        public Member<?> getStatusItem()
        Gets the status item related to the matching status, if any. Typically, if set, this is the parameter for which matching failed.
      • getStatus

        public String getStatus()
        Gets a descriptive status message in human readable form.
      • createOp

        public Object createOp​(List<?> dependencies)