congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ExtensionFeature.getId
Code IndexAdd Tabnine to your IDE (free)

How to use
getId
method
in
net.nemerosa.ontrack.model.extension.ExtensionFeature

Best Java code snippets using net.nemerosa.ontrack.model.extension.ExtensionFeature.getId (Showing top 4 results out of 315)

origin: net.nemerosa.ontrack/ontrack-model

/**
 * Adds a dependency
 */
public ExtensionFeatureOptions withDependency(ExtensionFeature feature) {
  Set<String> existing = this.dependencies;
  Set<String> newDependencies;
  if (existing == null) {
    newDependencies = new HashSet<>();
  } else {
    newDependencies = new HashSet<>(existing);
  }
  newDependencies.add(feature.getId());
  return withDependencies(newDependencies);
}
origin: net.nemerosa.ontrack/ontrack-service

/**
 * Startup: loads the extensions &amp; features from the application context.
 * <p>
 * This cannot be done at construction time because of dependency cycle between
 * some extensions that need access to the extension manager.
 */
@Override
public void start() {
  logger.info("[extensions] Loading the extensions");
  extensions = applicationContext.getBeansOfType(Extension.class).values();
  Collection<? extends ExtensionFeature> extensionFeatures = applicationContext.getBeansOfType(ExtensionFeature.class).values();
  logger.info("[extensions] Number of loaded extension features: {}", extensionFeatures.size());
  logger.info("[extensions] Number of loaded extensions: {}", extensions.size());
  logger.info("[extensions] Extension features:");
  for (ExtensionFeature feature : extensionFeatures) {
    logger.info("[extensions] * {} [{}]", feature.getName(), feature.getId());
  }
  // Detects cycles
  getExtensionList();
}
origin: net.nemerosa.ontrack/ontrack-ui-support

  /**
   * Given an action with a relative URI, gets a new Action with a fully resolved URI
   */
  default Action resolveActionWithExtension(Extension extension, Action action) {
    return action.withUri(
        String.format("extension/%s/%s",
            extension.getFeature().getId(),
            action.getUri())
    );
  }
}
origin: net.nemerosa.ontrack/ontrack-model

default ExtensionFeatureDescription getFeatureDescription() {
  return new ExtensionFeatureDescription(
      getId(),
      getName(),
      getDescription(),
      getVersion(),
      getOptions()
  );
}
net.nemerosa.ontrack.model.extensionExtensionFeaturegetId

Popular methods of ExtensionFeature

  • getFeatureDescription
  • getName
  • getDescription
  • getOptions
  • getVersion
    Gets the version of this feature

Popular in Java

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now