Class SClient

    • Constructor Detail

      • SClient

        public SClient()
    • Method Detail

      • getOperatorsClassifications

        public abstract List<OperatorsClassification> getOperatorsClassifications()
                                                                           throws Exception
        Retrieve the list of operators
        Returns:
        list of operators classification
        Throws:
        Exception - exception
      • getOperatorsClassifications

        public abstract List<OperatorsClassification> getOperatorsClassifications​(boolean refresh)
                                                                           throws Exception
        Retrieve the list of operators and refresh them if required
        Parameters:
        refresh - refresh operators in cache
        Returns:
        list of operators classification
        Throws:
        Exception - exception
      • getOperatorById

        public abstract Operator getOperatorById​(String id)
                                          throws Exception
        Retrieve the operator by id
        Parameters:
        id - operator id
        Returns:
        operator
        Throws:
        Exception - exception
      • getOperatorById

        public abstract Operator getOperatorById​(String id,
                                                 boolean refresh)
                                          throws Exception
        Parameters:
        id - operator id
        refresh - if true refresh the operators in cache
        Returns:
        operator
        Throws:
        Exception - exception
      • getInputParameters

        public abstract List<Parameter> getInputParameters​(Operator operator)
                                                    throws Exception
        Get input paramters of the operator
        Parameters:
        operator - operator
        Returns:
        list of parameter
        Throws:
        Exception - exception
      • getOutputParameters

        public abstract List<Parameter> getOutputParameters​(Operator operator)
                                                     throws Exception
        Get output paramters of the operator
        Parameters:
        operator - operator
        Returns:
        list of parameter
        Throws:
        Exception - exception
      • startComputation

        public abstract ComputationId startComputation​(Operator operator)
                                                throws Exception
        Start Computation
        Parameters:
        operator - operator
        Returns:
        computation id
        Throws:
        Exception - exception
      • cancelComputation

        public abstract String cancelComputation​(ComputationId computationId)
                                          throws Exception
        Cancel a computation
        Parameters:
        computationId - computation Id
        Returns:
        cancel
        Throws:
        Exception - exception
      • getComputationStatus

        public abstract ComputationStatus getComputationStatus​(ComputationId computationId)
                                                        throws Exception
        Get Computation Status
        Parameters:
        computationId - computation Id
        Returns:
        computation status
        Throws:
        Exception - exception
      • getOutputDataByComputationId

        public abstract OutputData getOutputDataByComputationId​(ComputationId computationId)
                                                         throws Exception
        Get Output of computation
        Parameters:
        computationId - computation id
        Returns:
        output data
        Throws:
        Exception - exception
      • getComputationDataByComputationProperties

        public abstract ComputationData getComputationDataByComputationProperties​(Map<String,​String> computationProperties)
                                                                           throws Exception
        Get Computation Data by computation properties
        Parameters:
        computationProperties - computation properties
        Returns:
        computation data
        Throws:
        Exception - exception
      • resubmitComputation

        public abstract ComputationId resubmitComputation​(Map<String,​String> computationProperties)
                                                   throws Exception
        Resubmit a computation only by computation properties
        Parameters:
        computationProperties - map of computation properties
        Returns:
        computation id
        Throws:
        Exception - exception
      • getServiceInfo

        public abstract ServiceInfo getServiceInfo()
                                            throws Exception
        Retrieve service info
        Returns:
        service info
        Throws:
        Exception - exception