1 16 package org.jahia.pipelines; 17 18 import org.jahia.pipelines.valves.Valve; 19 20 25 public interface Pipeline { 26 27 void initialize () 28 throws PipelineException; 29 30 38 void addValve (Valve valve); 39 40 46 Valve[] getValves (); 47 48 63 void invoke (Object context) 64 throws PipelineException; 65 66 72 void removeValve (Valve valve); 73 74 81 public boolean hasValveOfClass(Class c); 82 83 89 public Valve getFirstValveOfClass(Class c); 90 92 95 void setDescriptor(PipelineDescriptor pipelineDescriptor); 96 97 100 PipelineDescriptor getDescriptor(); 101 102 } 103 | Popular Tags |