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

How to use
getAlertingDefinitionFilePath
method
in
rocks.inspectit.server.ci.ConfigurationInterfacePathResolver

Best Java code snippets using rocks.inspectit.server.ci.ConfigurationInterfacePathResolver.getAlertingDefinitionFilePath (Showing top 5 results out of 315)

origin: inspectIT/inspectIT

/**
 * Deletes the alerting definition.
 *
 * @param alertingDefinition
 *            AlertingDefinition to delete.
 * @throws IOException
 *             If {@link IOException} occurs during delete.
 */
public void deleteAlertingDefinition(AlertingDefinition alertingDefinition) throws IOException {
  String id = alertingDefinition.getId();
  AlertingDefinition local = existingAlertingDefinitions.remove(id);
  if (local != null) {
    Files.deleteIfExists(pathResolver.getAlertingDefinitionFilePath(local));
    eventPublisher.publishEvent(new AbstractAlertingDefinitionEvent.AlertingDefinitionDeletedEvent(this, local));
  }
}
origin: inspectIT/inspectIT

/**
 * Save the given {@link AlertingDefinition}.
 *
 * @param alertingDefinition
 *            the {@link AlertingDefinition} to save
 * @throws IOException
 *             if {@link IOException} occurs
 * @throws JAXBException
 *             if {@link JAXBException} occurs. If saving fails
 */
private void saveAlertingDefinition(AlertingDefinition alertingDefinition) throws JAXBException, IOException {
  transformator.marshall(pathResolver.getAlertingDefinitionFilePath(alertingDefinition), alertingDefinition, getRelativeToSchemaPath(pathResolver.getDefaultCiPath()).toString(),
      ISchemaVersionAware.ConfigurationInterface.SCHEMA_VERSION);
}
origin: inspectIT/inspectIT

  @Override
  public Path answer(InvocationOnMock invocation) throws Throwable {
    return Paths.get(TEST_FOLDER).resolve(EXT_RESOURCES_PATH.relativize(resolverHelper.getAlertingDefinitionsPath()))
        .resolve(EXT_RESOURCES_PATH.relativize(resolverHelper.getAlertingDefinitionFilePath((AlertingDefinition) invocation.getArguments()[0])));
  }
}).when(pathResolver).getAlertingDefinitionFilePath(Matchers.<AlertingDefinition> any());
origin: inspectIT/inspectIT

        .resolve(EXT_RESOURCES_PATH.relativize(resolverHelper.getAlertingDefinitionFilePath((AlertingDefinition) invocation.getArguments()[0])));
}).when(pathResolver).getAlertingDefinitionFilePath(Matchers.<AlertingDefinition> any());
origin: inspectIT/inspectIT

Files.deleteIfExists(pathResolver.getAlertingDefinitionFilePath(local));
rocks.inspectit.server.ciConfigurationInterfacePathResolvergetAlertingDefinitionFilePath

Javadoc

Returns path pointing to the alerting definition file.

Popular methods of ConfigurationInterfacePathResolver

  • getAgentMappingFilePath
    Returns path pointing to the agent mapping file.
  • getAlertingDefinitionsPath
    Returns the directory where alert thresholds are saved.
  • getBusinessContextFilePath
    Returns path pointing to the business context file.
  • getDefaultCiPath
    Returns the default CI folder.
  • getEnvironmentFilePath
    Returns path pointing to the environment file.
  • getEnvironmentPath
    Returns the directory where environments are saved.
  • getProfileFilePath
    Returns path pointing to the profile file.
  • getProfilesPath
    Returns the directory where profiles are saved.
  • getSchemaPath
    Returns the schema path.
  • <init>
  • getMigrationPath
    Returns the schema path.
  • init
    Initializes #configDirFile.
  • getMigrationPath,
  • init,
  • removeIllegalFilenameCharacters

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 14 Best Plugins for Eclipse
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