@Override public TriggerFactory getTriggerFactory() { // the result of this won't actually be used, but the returned object will have its methods called return new DefaultTriggerFactory(NamespaceId.DEFAULT); }
public DefaultAppConfigurer(Id.Namespace namespace, Id.Artifact artifactId, Application app, String configuration, @Nullable ArtifactRepository artifactRepository, @Nullable PluginInstantiator pluginInstantiator) { super(namespace, artifactId, artifactRepository, pluginInstantiator); this.name = app.getClass().getSimpleName(); this.description = ""; this.configuration = configuration; this.artifactId = artifactId; this.artifactRepository = artifactRepository; this.pluginInstantiator = pluginInstantiator; this.triggerFactory = new DefaultTriggerFactory(namespace.toEntityId()); }
public DefaultAppConfigurer(Id.Namespace namespace, Id.Artifact artifactId, Application app, String configuration, @Nullable ArtifactRepository artifactRepository, @Nullable PluginInstantiator pluginInstantiator) { super(namespace, artifactId, artifactRepository, pluginInstantiator); this.name = app.getClass().getSimpleName(); this.description = ""; this.configuration = configuration; this.artifactId = artifactId; this.artifactRepository = artifactRepository; this.pluginInstantiator = pluginInstantiator; this.triggerFactory = new DefaultTriggerFactory(namespace.toEntityId()); }