congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PluginProperty.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jtalks.jcommune.model.entity.PluginProperty
constructor

Best Java code snippets using org.jtalks.jcommune.model.entity.PluginProperty.<init> (Showing top 6 results out of 315)

origin: jtalks-org/jcommune

@Override
public List<PluginProperty> getDefaultConfiguration() {
  PluginProperty url = new PluginProperty(URL_PROPERTY, STRING, "http://localhost:8080");
  PluginProperty login = new PluginProperty(LOGIN_PROPERTY, STRING, "user");
  PluginProperty password = new PluginProperty(PASSWORD_PROPERTY, STRING, "1234");
  return Arrays.asList(url, login, password);
}
origin: jtalks-org/jcommune

@Override
public List<PluginProperty> getDefaultConfiguration() {
  PluginProperty width = new PluginProperty(WIDTH_PROPERTY, INT, "100");
  PluginProperty height = new PluginProperty(HEIGHT_PROPERTY, INT, "50");
  PluginProperty length = new PluginProperty(LENGTH_PROPERTY, INT, "4");
  PluginProperty possibleSymbols = new PluginProperty(POSSIBLE_SYMBOLS_PROPERTY, STRING, "0123456789");
  return Arrays.asList(width, height, length, possibleSymbols);
}
origin: jtalks-org/jcommune

@Override
public List<PluginProperty> getDefaultConfiguration() {
  PluginProperty url = new PluginProperty("URL", STRING, "http://localhost:1234");
  return Arrays.asList(url);
}
origin: jtalks-org/jcommune

/**
 * {@inheritDoc}
 */
@Override
public List<PluginProperty> getConfiguration() {
  PluginProperty orderProperty = new PluginProperty(ORDER_PROPERTY, PluginProperty.Type.INT,
      String.valueOf(order));
  orderProperty.setHint(ORDER_HINT);
  return Arrays.asList(orderProperty);
}
origin: jtalks-org/jcommune

/**
 * {@inheritDoc}
 */
@Override
public List<PluginProperty> getDefaultConfiguration() {
  PluginProperty orderProperty = new PluginProperty(ORDER_PROPERTY, PluginProperty.Type.INT,
      String.valueOf(DEFAULT_ORDER_VALUE));
  orderProperty.setHint(ORDER_HINT);
  return Arrays.asList(orderProperty);
}
origin: jtalks-org/jcommune

public static PluginProperty getDefaultPluginConfigurationProperty() {
  PluginProperty property = new PluginProperty("Property", PluginProperty.Type.BOOLEAN, "true");
  PluginConfiguration configuration = new PluginConfiguration("Default name", true, Arrays.asList(property));
  property.setPluginConfiguration(configuration);
  persist(configuration);
  return property;
}
org.jtalks.jcommune.model.entityPluginProperty<init>

Popular methods of PluginProperty

  • getName
  • getValue
  • setPluginConfiguration
  • getHint
  • getId
  • setHint
  • setValue

Popular in Java

  • Start an intent from android
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top 25 Plugins for Webstorm
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