Class ExecutionStrategyTemplate<S>

    • Field Detail

      • moduleReferenceParser

        protected final com.google.common.base.Function<org.osgi.framework.ServiceReference,​com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> moduleReferenceParser
      • serviceExecutions

        protected final Queue<Callable> serviceExecutions
    • Constructor Detail

      • ExecutionStrategyTemplate

        protected ExecutionStrategyTemplate​(com.google.common.base.Function<org.osgi.framework.ServiceReference,​com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> moduleReferenceParser)
    • Method Detail

      • add

        public boolean add​(org.osgi.framework.ServiceReference serviceReference,
                           com.google.common.base.Function<S,​?> serviceCallback)
        Specified by:
        add in interface ServiceExecutionStrategy<S>
      • createServiceExecution

        protected Callable createServiceExecution​(org.osgi.framework.ServiceReference serviceReference,
                                                  com.google.common.base.Function<S,​?> serviceCallback)
      • getDescription

        protected String getDescription()