Class ProcessorLibrary.StatusSetter

  • All Implemented Interfaces:
    com.yahoo.component.Component, java.lang.Comparable<com.yahoo.component.Component>
    Enclosing class:
    ProcessorLibrary

    public static final class ProcessorLibrary.StatusSetter
    extends Processor
    • Field Summary

      • Fields inherited from class com.yahoo.component.AbstractComponent

        isDeconstructable
    • Constructor Summary

      Constructors 
      Constructor Description
      StatusSetter​(int status)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Response process​(Request request, Execution execution)
      Performs a processing request and returns the response
      • Methods inherited from class com.yahoo.component.chain.ChainedComponent

        getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
      • Methods inherited from class com.yahoo.component.AbstractComponent

        clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StatusSetter

        public StatusSetter​(int status)
    • Method Detail

      • process

        public Response process​(Request request,
                                Execution execution)
        Description copied from class: Processor
        Performs a processing request and returns the response
        Specified by:
        process in class Processor
        Returns:
        a Response instance - never null - containing the data produced by this processor and those it forwards the request to