/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }