Tabnine Logo
Property
Code IndexAdd Tabnine to your IDE (free)

How to use
Property
in
kieker.analysis.plugin.annotation

Best Java code snippets using kieker.analysis.plugin.annotation.Property (Showing top 20 results out of 315)

origin: net.kieker-monitoring/kieker

  @Property(
      name = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES,
      defaultValue = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES,
      description = "Sets the number of max plot entries per cpu"),
  @Property(name = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_NAME_DISPLAY_WARNING_INTERVALS,
      defaultValue = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_VALUE_DISPLAY_WARNING_INTERVALS) })
public class CPUUtilizationDisplayFilter extends AbstractFilterPlugin {
origin: net.kieker-monitoring/kieker

/**
 * This method delivers an instance of {@code Configuration} containing the default properties for this class.
 * 
 * @return The default properties.
 */
@Override
protected final Configuration getDefaultConfiguration() {
  final Configuration defaultConfiguration = new Configuration();
  // Get the annotation from the class
  final Repository repoAnnotation = this.getClass().getAnnotation(Repository.class);
  final Property[] propertyAnnotations = repoAnnotation.configuration();
  // Run through all properties within the annotation and add them to the configuration object
  for (final Property property : propertyAnnotations) {
    defaultConfiguration.setProperty(property.name(), property.defaultValue());
  }
  return defaultConfiguration;
}
origin: net.kieker-monitoring/kieker

/**
 * Checks whether the property with the given name is marked as updateable.
 * 
 * @param propertyName
 *            Name of the property to check
 * @return true if marked as updateable, else false.
 */
public boolean isPropertyUpdateable(final String propertyName) {
  final Plugin pluginAnnotations = this.getClass().getAnnotation(Plugin.class);
  final Property[] properties = pluginAnnotations.configuration();
  final List<Property> propertyList = Arrays.asList(properties);
  for (final Property p : propertyList) {
    if (p.name().equals(propertyName)) {
      return p.updateable();
    }
  }
  return false;
}
origin: net.kieker-monitoring/kieker

possibleKeys.add(property.name());
origin: kieker-monitoring/kieker

possibleKeys.add(property.name());
origin: kieker-monitoring/kieker

  @Property(
      name = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES,
      defaultValue = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES,
      description = "Sets the number of max plot entries per cpu"),
  @Property(name = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_NAME_DISPLAY_WARNING_INTERVALS,
      defaultValue = CPUUtilizationDisplayFilter.CONFIG_PROPERTY_VALUE_DISPLAY_WARNING_INTERVALS) })
public class CPUUtilizationDisplayFilter extends AbstractFilterPlugin {
origin: net.kieker-monitoring/kieker

/**
 * This method provides the default properties, as supplied by the annotation.
 * 
 * @return The default configuration.
 */
private final Configuration getDefaultConfiguration() {
  final Configuration defaultConfiguration = new Configuration();
  // Get the (potential) annotation of our class
  final kieker.analysis.annotation.AnalysisController annotation = this.getClass().getAnnotation(kieker.analysis.annotation.AnalysisController.class);
  if (null != annotation) {
    // Run through the available properties and put them into our configuration
    for (final Property property : annotation.configuration()) {
      defaultConfiguration.setProperty(property.name(), property.defaultValue());
    }
  }
  return defaultConfiguration;
}
origin: kieker-monitoring/kieker

/**
 * Checks whether the property with the given name is marked as updateable.
 * 
 * @param propertyName
 *            Name of the property to check
 * @return true if marked as updateable, else false.
 */
public boolean isPropertyUpdateable(final String propertyName) {
  final Plugin pluginAnnotations = this.getClass().getAnnotation(Plugin.class);
  final Property[] properties = pluginAnnotations.configuration();
  final List<Property> propertyList = Arrays.asList(properties);
  for (final Property p : propertyList) {
    if (p.name().equals(propertyName)) {
      return p.updateable();
    }
  }
  return false;
}
origin: kieker-monitoring/kieker

private boolean isConfigurationCorrect(final Class<?> clazz) throws InstantiationException, IllegalAccessException, IllegalArgumentException,
    InvocationTargetException, NoSuchMethodException, SecurityException {
  final IAnalysisController ac = new AnalysisController();
  final AbstractPlugin pluginInstance = (AbstractPlugin) clazz.getConstructor(Configuration.class, IProjectContext.class).newInstance(new Configuration(), ac);
  final Property[] expectedProperties = this.getExpectedProperties(clazz);
  final Configuration actualConfiguration = this.getActualProperties(pluginInstance);
  for (final Property property : expectedProperties) {
    if (!(actualConfiguration.containsKey(property.name()))) {
      return false;
    }
  }
  return true;
}
origin: net.kieker-monitoring/kieker

},
configuration = {
    @Property(name = KafkaReader.CONFIG_PROPERTY_TOPIC_NAME, defaultValue = "kiekerRecords",
        description = "Name of the Kafka topic to read the records from"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_BOOTSTRAP_SERVERS, defaultValue = "localhost:9092",
        description = "Bootstrap servers for the Kafka cluster"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_GROUP_ID, defaultValue = "kieker", description = "Group ID for the Kafka consumer group"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_AUTO_COMMIT, defaultValue = "true", description = "Auto-commit the current position?"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_AUTO_COMMIT_INTERVAL_MS, defaultValue = "1000", description = "Auto commit interval in milliseconds"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_SESSION_TIMEOUT_MS, defaultValue = "30000", description = "Session timeout interval in milliseconds")
origin: kieker-monitoring/kieker

/**
 * This method delivers an instance of {@code Configuration} containing the default properties for this class.
 * 
 * @return The default properties.
 */
@Override
protected final Configuration getDefaultConfiguration() {
  final Configuration defaultConfiguration = new Configuration();
  // Get the annotation from the class
  final Repository repoAnnotation = this.getClass().getAnnotation(Repository.class);
  final Property[] propertyAnnotations = repoAnnotation.configuration();
  // Run through all properties within the annotation and add them to the configuration object
  for (final Property property : propertyAnnotations) {
    defaultConfiguration.setProperty(property.name(), property.defaultValue());
  }
  return defaultConfiguration;
}
origin: net.kieker-monitoring/kieker

    description = "Generic plugin for writing graphs to files",
    configuration = {
      @Property(name = GraphWriterPlugin.CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS, defaultValue = "true"),
      @Property(name = GraphWriterPlugin.CONFIG_PROPERTY_NAME_SHORTLABELS, defaultValue = "true"),
      @Property(name = GraphWriterPlugin.CONFIG_PROPERTY_NAME_SELFLOOPS, defaultValue = "false")
    })
public class GraphWriterPlugin extends AbstractFilterPlugin {
origin: kieker-monitoring/kieker

/**
 * This method delivers an instance of {@code Configuration} containing the default properties for this class.
 *
 * @return The default properties.
 */
@Override
protected final Configuration getDefaultConfiguration() {
  final Configuration defaultConfiguration = new Configuration();
  // Get the annotation from the class
  final Plugin pluginAnnotation = this.getClass().getAnnotation(Plugin.class);
  final Property[] propertyAnnotations = pluginAnnotation.configuration();
  // Run through all properties within the annotation and add them to the configuration object
  for (final Property property : propertyAnnotations) {
    defaultConfiguration.setProperty(property.name(), property.defaultValue());
  }
  return defaultConfiguration;
}
origin: kieker-monitoring/kieker

  @Property(name = GraphWriterPlugin.CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS, defaultValue = "true"),
  @Property(name = GraphWriterPlugin.CONFIG_PROPERTY_NAME_SHORTLABELS, defaultValue = "true"),
  @Property(name = GraphWriterPlugin.CONFIG_PROPERTY_NAME_SELFLOOPS, defaultValue = "false")
})
public class GraphWriterPlugin extends AbstractFilterPlugin {
origin: net.kieker-monitoring/kieker

/**
 * This method delivers an instance of {@code Configuration} containing the default properties for this class.
 * 
 * @return The default properties.
 */
@Override
protected final Configuration getDefaultConfiguration() {
  final Configuration defaultConfiguration = new Configuration();
  // Get the annotation from the class
  final Plugin pluginAnnotation = this.getClass().getAnnotation(Plugin.class);
  final Property[] propertyAnnotations = pluginAnnotation.configuration();
  // Run through all properties within the annotation and add them to the configuration object
  for (final Property property : propertyAnnotations) {
    defaultConfiguration.setProperty(property.name(), property.defaultValue());
  }
  return defaultConfiguration;
}
origin: kieker-monitoring/kieker

},
configuration = {
    @Property(name = KafkaReader.CONFIG_PROPERTY_TOPIC_NAME, defaultValue = "kiekerRecords",
        description = "Name of the Kafka topic to read the records from"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_BOOTSTRAP_SERVERS, defaultValue = "localhost:9092",
        description = "Bootstrap servers for the Kafka cluster"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_GROUP_ID, defaultValue = "kieker", description = "Group ID for the Kafka consumer group"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_AUTO_COMMIT, defaultValue = "true", description = "Auto-commit the current position?"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_AUTO_COMMIT_INTERVAL_MS, defaultValue = "1000", description = "Auto commit interval in milliseconds"),
    @Property(name = KafkaReader.CONFIG_PROPERTY_SESSION_TIMEOUT_MS, defaultValue = "30000", description = "Session timeout interval in milliseconds")
origin: kieker-monitoring/kieker

/**
 * This method provides the default properties, as supplied by the annotation.
 *
 * @return The default configuration.
 */
private final Configuration getDefaultConfiguration() {
  final Configuration defaultConfiguration = new Configuration();
  // Get the (potential) annotation of our class
  final kieker.analysis.annotation.AnalysisController annotation = this.getClass().getAnnotation(kieker.analysis.annotation.AnalysisController.class);
  if (null != annotation) {
    // Run through the available properties and put them into our configuration
    for (final Property property : annotation.configuration()) {
      defaultConfiguration.setProperty(property.name(), property.defaultValue());
    }
  }
  return defaultConfiguration;
}
origin: net.kieker-monitoring/kieker

  @OutputPort(name = RealtimeRecordDelayFilter.OUTPUT_PORT_NAME_RECORDS, eventTypes = { IMonitoringRecord.class }, description = "Outputs the delayed records")
}, configuration = {
  @Property(name = RealtimeRecordDelayFilter.CONFIG_PROPERTY_NAME_NUM_WORKERS, defaultValue = "1"),
  @Property(name = RealtimeRecordDelayFilter.CONFIG_PROPERTY_NAME_ADDITIONAL_SHUTDOWN_DELAY_SECONDS, defaultValue = "5"),
  @Property(name = RealtimeRecordDelayFilter.CONFIG_PROPERTY_NAME_WARN_NEGATIVE_DELAY_SECONDS, defaultValue = "2"),
  @Property(name = RealtimeRecordDelayFilter.CONFIG_PROPERTY_NAME_TIMER, defaultValue = "MILLISECONDS"),
  @Property(name = RealtimeRecordDelayFilter.CONFIG_PROPERTY_NAME_ACCELERATION_FACTOR, defaultValue = "1") // CONFIG_PROPERTY_ACCELERATION_FACTOR_DEFAULT
})
public class RealtimeRecordDelayFilter extends AbstractFilterPlugin {
origin: net.kieker-monitoring/kieker

@OutputPort(name = AmqpReader.OUTPUT_PORT_NAME_RECORDS, eventTypes = {
  IMonitoringRecord.class }, description = "Output port of the AMQP reader") }, configuration = {
    @Property(name = AmqpReader.CONFIG_PROPERTY_URI, defaultValue = "amqp://localhost", description = "Server URI of the AMQP server"),
    @Property(name = AmqpReader.CONFIG_PROPERTY_QUEUENAME, defaultValue = "kieker", description = "AMQP queue name"),
    @Property(name = AmqpReader.CONFIG_PROPERTY_HEARTBEAT, defaultValue = "60", description = "Heartbeat interval (in seconds)"),
    @Property(name = AmqpReader.CONFIG_PROPERTY_CACHE_DURATION, defaultValue = "60", description = "Cache duration (in seconds) for string registries")
origin: net.kieker-monitoring/kieker

  @Property(name = AnomalyScoreVisualizationFilter.CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES,
      defaultValue = AnomalyScoreVisualizationFilter.CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES) })
public class AnomalyScoreVisualizationFilter extends AbstractFilterPlugin {
kieker.analysis.plugin.annotationProperty

Most used methods

  • <init>
  • name
  • defaultValue
  • updateable

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • BoxLayout (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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