Examples of addGroup()


Examples of org.apache.flex.compiler.internal.mxml.StateDefinition.addGroup()

        {
            group = new StateGroupDefinition(groupName, getDefinition());
            groupMap.put(groupName, group);
        }

        state.addGroup(group);
        group.addState(state);
    }

    /**
     * Determines which nodes depend on which states. Instance nodes depend on
View Full Code Here

Examples of org.apache.hadoop.mapred.Counters.addGroup()

    }

    private Counters covertToHadoopCounters(TezCounters tezCounters) {
        Counters counters = new Counters();
        for (CounterGroup tezGrp : tezCounters) {
            Group grp = counters.addGroup(tezGrp.getName(), tezGrp.getDisplayName());
            for (TezCounter counter : tezGrp) {
                grp.addCounter(counter.getName(), counter.getDisplayName(), counter.getValue());
            }
        }
        return counters;
View Full Code Here

Examples of org.apache.hadoop.mapreduce.Counters.addGroup()

  static Counters fromAvro(JhCounters counters) {
    Counters result = new Counters();
    if(counters != null) {
      for (JhCounterGroup g : counters.groups) {
        CounterGroup group =
            result.addGroup(StringInterner.weakIntern(g.name.toString()),
                StringInterner.weakIntern(g.displayName.toString()));
        for (JhCounter c : g.counts) {
          group.addCounter(StringInterner.weakIntern(c.name.toString()),
              StringInterner.weakIntern(c.displayName.toString()), c.value);
        }
View Full Code Here

Examples of org.apache.hadoop.security.authorize.AccessControlList.addGroup()

  @BeforeClass
  public static void setup() throws InterruptedException, IOException {
    RMStateStore store = RMStateStoreFactory.getStore(conf);
    conf.setBoolean(YarnConfiguration.YARN_ACL_ENABLE, true);
    AccessControlList adminACL = new AccessControlList("");
    adminACL.addGroup(SUPER_GROUP);
    conf.set(YarnConfiguration.YARN_ADMIN_ACL, adminACL.getAclString());
    resourceManager = new MockRM(conf) {

      @Override
      protected QueueACLsManager createQueueACLsManager(
View Full Code Here

Examples of org.apache.jetspeed.security.GroupManager.addGroup()

          String name = ((JSGroup)_it.next()).getName();

          try
          {
            if (!(groupManager.groupExists(name)))
              groupManager.addGroup(name);
            Group group = groupManager.getGroup(name);
            this.groupMap.put(name, group.getPrincipal());
          } catch (Exception e)
          {
              throw new SerializerException(
View Full Code Here

Examples of org.apache.jetspeed.serializer.objects.JSPermission.addGroup()

                            JSGroup _tempGroup = (JSGroup) this
                                    .getObjectBehindPath(groupMap,
                                            removeFromString(path, "/group/"));
                            if (_tempGroup != null)
                            {
                                _js.addGroup(_tempGroup);
                            }

                        } else
                        {
                            if (path.startsWith("/user/"))
View Full Code Here

Examples of org.apache.jetspeed.serializer.objects.JSUser.addGroup()

                {
                    JSGroup _tempGroup = (JSGroup) this.getObjectBehindPath(
                            groupMap, principal.getName());
                    if (_tempGroup != null)
                    {
                        _newUser.addGroup(_tempGroup);
                    }

                } else if (path.startsWith("/user/"))
                    _newUser.setPrincipal(principal);
View Full Code Here

Examples of org.apache.myfaces.extensions.validator.beanval.ExtValBeanValidationContext.addGroup()

        {
            currentClass = ClassUtils.tryToLoadClassForName(groupClassName.trim());

            if(currentClass != null && currentClass.isInterface())
            {
                beanValidationContext.addGroup(currentClass, viewId, clientId);
            }
            else
            {
                this.logger.severe(groupClassName + " is no valid group - only existing interfaces are allowed");
            }
View Full Code Here

Examples of org.apache.pdfbox.pdmodel.graphics.optionalcontent.PDOptionalContentProperties.addGroup()

        {
            throw new IllegalArgumentException("Optional group (layer) already exists: " + layerName);
        }

        PDOptionalContentGroup layer = new PDOptionalContentGroup(layerName);
        ocprops.addGroup(layer);

        PDResources resources = targetPage.getResources();
        /*PDPropertyList props = resources.getProperties();
        if (props == null)
        {
View Full Code Here

Examples of org.apache.qpid.server.security.access.config.RuleSet.addGroup()

    }

    private RuleSet createGroupRuleSet()
    {
        final RuleSet rs = new RuleSet();
        rs.addGroup("aclGroup1", Arrays.asList(new String[] {"member1", "Member2"}));

        // Rule expressed with username
        rs.grant(0, "user1", Permission.ALLOW, Operation.ACCESS, ObjectType.VIRTUALHOST, ObjectProperties.EMPTY);
        // Rule expressed with a acl group
        rs.grant(1, "aclGroup1", Permission.ALLOW, Operation.ACCESS, ObjectType.VIRTUALHOST, ObjectProperties.EMPTY);
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.