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

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

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

origin: inspectIT/inspectIT

/**
 * Returns the directory where alert thresholds are saved.
 *
 * @return Path to the folder of the alert thresholds.
 */
public Path getAlertingDefinitionsPath() {
  return getDefaultCiPath().resolve(ALERTING_DEFINITIONS_FOLDER);
}
origin: inspectIT/inspectIT

/**
 * Returns the directory where profiles are saved.
 *
 * @return Profiles directory path.
 */
public Path getProfilesPath() {
  return getDefaultCiPath().resolve(PROFILES_FOLDER);
}
origin: inspectIT/inspectIT

/**
 * Returns the directory where environments are saved.
 *
 * @return Environments directory path.
 */
public Path getEnvironmentPath() {
  return getDefaultCiPath().resolve(ENVIRONMENTS_FOLDER);
}
origin: inspectIT/inspectIT

/**
 * Returns path pointing to the agent mapping file.
 *
 * @return Path to the file.
 */
public Path getAgentMappingFilePath() {
  return getDefaultCiPath().resolve(AGENT_MAPPING_FILE);
}
origin: inspectIT/inspectIT

/**
 * Returns path pointing to the business context file.
 *
 * @return Path to the file.
 */
public Path getBusinessContextFilePath() {
  return getDefaultCiPath().resolve(BUSINESS_CONTEXT_CONFIG_FILE);
}
origin: inspectIT/inspectIT

/**
 * Returns the schema path.
 *
 * @return Returns the schema path.
 */
public Path getSchemaPath() {
  return getDefaultCiPath().resolve(SCHEMA_FOLDER).resolve(SCHEMA_FILE);
}
origin: inspectIT/inspectIT

/**
 * Returns the schema path.
 *
 * @return Returns the schema path.
 */
public Path getMigrationPath() {
  return getDefaultCiPath().resolve(SCHEMA_FOLDER).resolve(MIGRATION_FOLDER);
}
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

/**
 * Saves the passed {@link IBusinessContextDefinition}.
 *
 * @param businessContextDefinition
 *            {@link IBusinessContextDefinition} to save
 * @throws IOException
 *             If {@link IOException} occurs.
 * @throws JAXBException
 *             If {@link JAXBException} occurs. If saving fails.
 */
private void saveBusinessContext(BusinessContextDefinition businessContextDefinition) throws JAXBException, IOException {
  businessContextDefinitionReference.set(businessContextDefinition);
  transformator.marshall(pathResolver.getBusinessContextFilePath(), businessContextDefinition, getRelativeToSchemaPath(pathResolver.getDefaultCiPath()).toString(),
      ISchemaVersionAware.ConfigurationInterface.SCHEMA_VERSION);
}
origin: inspectIT/inspectIT

/**
 * Saves agent mapping.
 *
 * @param agentMappings
 *            To save
 * @throws IOException
 *             If {@link IOException} occurs.
 * @throws JAXBException
 *             If {@link JAXBException} occurs. If saving fails.
 */
private void saveAgentMapping(AgentMappings agentMappings) throws JAXBException, IOException {
  transformator.marshall(pathResolver.getAgentMappingFilePath(), agentMappings, getRelativeToSchemaPath(pathResolver.getDefaultCiPath()).toString(),
      ISchemaVersionAware.ConfigurationInterface.SCHEMA_VERSION);
}
origin: inspectIT/inspectIT

final ConfigurationInterfacePathResolver resolverHelper = new ConfigurationInterfacePathResolver();
resolverHelper.init();
when(pathResolver.getDefaultCiPath()).thenReturn(Paths.get(TEST_FOLDER));
when(pathResolver.getAgentMappingFilePath()).thenReturn(Paths.get(TEST_FOLDER).resolve(EXT_RESOURCES_PATH.relativize(resolverHelper.getAgentMappingFilePath())));
when(pathResolver.getEnvironmentPath()).thenReturn(Paths.get(TEST_FOLDER).resolve(EXT_RESOURCES_PATH.relativize(resolverHelper.getEnvironmentPath())));
rocks.inspectit.server.ciConfigurationInterfacePathResolvergetDefaultCiPath

Javadoc

Returns the default CI folder.

Popular methods of ConfigurationInterfacePathResolver

  • getAgentMappingFilePath
    Returns path pointing to the agent mapping file.
  • getAlertingDefinitionFilePath
    Returns path pointing to the alerting definition file.
  • getAlertingDefinitionsPath
    Returns the directory where alert thresholds are saved.
  • getBusinessContextFilePath
    Returns path pointing to the business context file.
  • 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

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • JButton (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 17 PhpStorm Plugins
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