Examples of BooleanProperty


Examples of org.apache.jmeter.testelement.property.BooleanProperty

        return getPropertyAsString(METHOD);
    }

    public void setUseKeepAlive(boolean value)
    {
        setProperty(new BooleanProperty(USE_KEEPALIVE, value));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.BooleanProperty

        return getPropertyAsBoolean(IMAGE_PARSER);
    }

    public void setImageParser(boolean parseImages)
    {
        setProperty(new BooleanProperty(IMAGE_PARSER, parseImages));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.BooleanProperty

                TestElement.TEST_CLASS,
                mc.getClass().getName()));

        //This  stores the state of the TestElement
        log.debug("setting element to enabled: " + enabled);
        mc.setProperty(new BooleanProperty(TestElement.ENABLED, enabled));
    }
View Full Code Here

Examples of org.eigenbase.util.property.BooleanProperty

            }
       );
    }

    public void execute(MemberEditCommand cmd) {
        final BooleanProperty prop =
            MondrianProperties.instance().EnableRolapCubeMemberCache;
        if (prop.get()) {
            throw new IllegalArgumentException(
                "Member cache control operations are not allowed unless "
                + "property " + prop.getPath() + " is false");
        }
        synchronized (MEMBER_CACHE_LOCK) {
            final List<CellRegion> cellRegionList =
                new ArrayList<CellRegion>();
            ((MemberEditCommandPlus) cmd).execute(cellRegionList);
View Full Code Here

Examples of org.freeplane.core.resources.components.BooleanProperty

    public void propertyChange(PropertyChangeEvent evt) {
      if(internalChange){
        return;
      }
      BooleanProperty isSet = (BooleanProperty) evt.getSource();
      final MLogicalStyleController styleController = (MLogicalStyleController) LogicalStyleController.getController();
      if(isSet.getBooleanValue()){
        styleController.setStyle((IStyle) uiFactory.getStyles().getSelectedItem());
      }
      else{
        styleController.setStyle(null);
      }
View Full Code Here

Examples of org.structr.core.property.BooleanProperty

              if (!key.startsWith(DATA_META_PREFIX)) {

                if (value != null) {
                  if (value.equalsIgnoreCase("true")) {
                    newNode.setProperty(new BooleanProperty(key), true);
                  } else if (value.equalsIgnoreCase("false")) {
                    newNode.setProperty(new BooleanProperty(key), false);
                  } else {
                    newNode.setProperty(new StringProperty(key), nodeAttr.getValue());
                  }
                }

              } else {

                int l = DATA_META_PREFIX.length();

                String upperCaseKey = WordUtils.capitalize(key.substring(l), new char[]{'-'}).replaceAll("-", "");
                String camelCaseKey = key.substring(l, l + 1).concat(upperCaseKey.substring(1));

                if (value != null) {
                  if (value.equalsIgnoreCase("true")) {
                    newNode.setProperty(new BooleanProperty(camelCaseKey), true);
                  } else if (value.equalsIgnoreCase("false")) {
                    newNode.setProperty(new BooleanProperty(camelCaseKey), false);
                  } else {
                    newNode.setProperty(new StringProperty(camelCaseKey), nodeAttr.getValue());
                  }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.