Tabnine Logo
PropertyDescriptor.getDefaultValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getDefaultValue
method
in
com.hurence.logisland.component.PropertyDescriptor

Best Java code snippets using com.hurence.logisland.component.PropertyDescriptor.getDefaultValue (Showing top 9 results out of 315)

origin: com.hurence.logisland/logisland-api

@Override
public PropertyValue getPropertyValue(final PropertyDescriptor property) {
  final String configuredValue = properties.get(property);
  return new StandardPropertyValue(configuredValue == null ? property.getDefaultValue() : configuredValue);
}
origin: com.hurence.logisland/logisland-api

@Override
public PropertyValue getPropertyValue(final String propertyName) {
  final PropertyDescriptor descriptor = component.getPropertyDescriptor(propertyName);
  if (descriptor == null) {
    return null;
  }
  final String setPropertyValue = getProperty(descriptor);
  final String propValue = (setPropertyValue == null) ? descriptor.getDefaultValue() : setPropertyValue;
  return new StandardPropertyValue(propValue);
}
origin: com.hurence.logisland/logisland-api

@Override
public PropertyValue getPropertyValue(final String propertyName) {
  final PropertyDescriptor descriptor = component.getPropertyDescriptor(propertyName);
  if (descriptor == null) {
    return null;
  }
  final String setPropertyValue = getProperty(descriptor);
  final String propValue = (setPropertyValue == null) ? descriptor.getDefaultValue() : setPropertyValue;
  return PropertyValueFactory.getInstance(descriptor, propValue, controllerServiceLookup);
}
origin: com.hurence.logisland/logisland-api

@Override
public PropertyValue getPropertyValue(final String propertyName) {
  final PropertyDescriptor descriptor = component.getPropertyDescriptor(propertyName);
  if (descriptor == null) {
    return null;
  }
  final String setPropertyValue = getProperty(descriptor);
  final String propValue = (setPropertyValue == null) ? descriptor.getDefaultValue() : setPropertyValue;
  return new StandardPropertyValue(propValue);
}
origin: com.hurence.logisland/logisland-api

@Override
public PropertyValue getPropertyValue(final String propertyName) {
  final PropertyDescriptor descriptor = component.getPropertyDescriptor(propertyName);
  if (descriptor == null) {
    return null;
  }
  final String setPropertyValue = getProperty(descriptor);
  final String propValue = (setPropertyValue == null) ? descriptor.getDefaultValue() : setPropertyValue;
  return PropertyValueFactory.getInstance(descriptor, propValue, controllerServiceLookup);
}
origin: com.hurence.logisland/logisland-documentation

generator.writeStringField("defaultValue", property.getDefaultValue());
generator.writeBooleanField("isDynamic", property.isDynamic());
generator.writeBooleanField("isSensitive", property.isSensitive());
origin: com.hurence.logisland/logisland-documentation

writeSimpleElement(xmlStreamWriter, "td", property.getDefaultValue(), false, "default-value");
xmlStreamWriter.writeStartElement("td");
xmlStreamWriter.writeAttribute("id", "allowable-values");
origin: com.hurence.logisland/logisland-api

String value = context.getPropertyValue(descriptor).asString();
if (value == null) {
  value = descriptor.getDefaultValue();
origin: com.hurence.logisland/logisland-documentation

rstWriter.print(property.getDefaultValue());
rstWriter.print("\", ");
com.hurence.logisland.componentPropertyDescriptorgetDefaultValue

Popular methods of PropertyDescriptor

  • getName
  • isDynamic
  • getDisplayName
  • equals
  • isExpressionLanguageSupported
  • isRequired
  • <init>
  • getAllowableValues
  • getControllerServiceDefinition
  • getDescription
  • isSensitive
  • validate
    Validates the given input against this property descriptor's validator. If this descriptor has a set
  • isSensitive,
  • validate

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 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