Examples of addFlag()


Examples of de.innovationgate.wga.modules.options.LocalizedOptionDefinition.addFlag()

        LocalizedOptionDefinition path = new LocalizedOptionDefinition(Database.OPTION_PATH, StringOptionType.INSTANCE, _bundleLoader);
        path.addFlag(Database.OPTIONFLAG_PATH_OPTION);
        options.addOption(path);

        LocalizedOptionDefinition jndiPath = new LocalizedOptionDefinition(Database.OPTION_JNDI_PATH, StringOptionType.INSTANCE, _bundleLoader);
        jndiPath.addFlag(Database.OPTIONFLAG_PATH_OPTION);
        options.addOption(jndiPath);
       
        options.putAll(super.getOptionDefinitions());
       
        return options;
View Full Code Here

Examples of de.innovationgate.wga.modules.options.LocalizedOptionDefinition.addFlag()

   
    public OptionDefinitionsMap getOptionDefinitions() {
        OptionDefinitionsMap options = new OptionDefinitionsMap();
       
        LocalizedOptionDefinition path = new LocalizedOptionDefinition(Database.OPTION_PATH, StringOptionType.INSTANCE, _bundleLoader);
        path.addFlag(Database.OPTIONFLAG_PATH_OPTION);
        options.addOption(path);

        LocalizedOptionDefinition jndiPath = new LocalizedOptionDefinition(Database.OPTION_JNDI_PATH, StringOptionType.INSTANCE, _bundleLoader);
        jndiPath.addFlag(Database.OPTIONFLAG_PATH_OPTION);
        options.addOption(jndiPath);
View Full Code Here

Examples of de.innovationgate.wga.modules.options.LocalizedOptionDefinition.addFlag()

        LocalizedOptionDefinition path = new LocalizedOptionDefinition(Database.OPTION_PATH, StringOptionType.INSTANCE, _bundleLoader);
        path.addFlag(Database.OPTIONFLAG_PATH_OPTION);
        options.addOption(path);

        LocalizedOptionDefinition jndiPath = new LocalizedOptionDefinition(Database.OPTION_JNDI_PATH, StringOptionType.INSTANCE, _bundleLoader);
        jndiPath.addFlag(Database.OPTIONFLAG_PATH_OPTION);
        options.addOption(jndiPath);
       
        LocalizedOptionDefinition optFileHandlingQueryPaging = new LocalizedOptionDefinition(WGDatabaseImpl.COPTION_OPTIMIZED_FILE_HANDLING_DISABLEQUERYPAGING, BooleanOptionType.INSTANCE, _bundleLoader);
        optFileHandlingQueryPaging.setOptional(true);
        optFileHandlingQueryPaging.setExpert(true);
View Full Code Here

Examples of de.lmu.ifi.dbs.elki.utilities.optionhandling.parameterization.ListParameterization.addFlag()

    // Parameterization
    ListParameterization params = new ListParameterization();
    params.addParameter(LOF.K_ID, 10);
    params.addParameter(FeatureBagging.Parameterizer.NUM_ID, 10);
    params.addParameter(FeatureBagging.Parameterizer.SEED_ID, 5);
    params.addFlag(FeatureBagging.Parameterizer.BREADTH_ID);

    // setup Algorithm
    FeatureBagging fb = ClassGenericsUtil.parameterizeOrAbort(FeatureBagging.class, params);
    testParameterizationOk(params);
View Full Code Here

Examples of l2p.gameserver.model.entity.residence.Castle.addFlag()

      player.getInventory().destroyItem(_item, 1, false);
      _item = null;
      Castle oldOwner = CastleManager.getInstance().getCastleByIndex(_currentTerritoryId);
      oldOwner.removeFlag(_baseTerritoryId);
      Castle newOwner = CastleManager.getInstance().getCastleByIndex(player.getTerritorySiege());
      newOwner.addFlag(_baseTerritoryId);
      TerritorySiege.removeFlag(this);
      TerritorySiege.spawnFlags(_baseTerritoryId); // Заспавнит только нужный нам флаг в замке
      TerritorySiege.setWardLoc(_baseTerritoryId, getLoc());
      TerritorySiege.refreshTerritorySkills();
      player.sendPacket(Msg.THE_EFFECT_OF_TERRITORY_WARD_IS_DISAPPEARING);
View Full Code Here

Examples of net.citizensnpcs.guards.flags.FlagList.addFlag()

    FlagList flags = guard.getFlags();
    for (String key : profiles.getKeys(root)) {
      path = root + "." + key;
      boolean isSafe = profiles.getBoolean(path + ".safe");
      int priority = profiles.getInt(path + ".priority");
      flags.addFlag(FlagType.parse(profiles.getString(path + ".type")),
          FlagInfo.newInstance(key, priority, isSafe));
    }
  }

  @Override
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2SiegeClan.addFlag()

        {
            L2SiegeClan sc = _siege.getAttackerClan(_player.getClan());
            if (sc == null)
                deleteMe();
            else
                sc.addFlag(this);
        }
  }

    @Override
  public boolean isAttackable()
View Full Code Here

Examples of org.exist.xquery.AnalyzeContextInfo.addFlag()

    }
   
    public void analyze(AnalyzeContextInfo contextInfo) throws XPathException {
        final AnalyzeContextInfo newContextInfo = new AnalyzeContextInfo(contextInfo);
        newContextInfo.setParent(this);
        newContextInfo.addFlag(UNORDERED);
        super.analyze(newContextInfo);
    }

    /* (non-Javadoc)
     * @see org.exist.xquery.Expression#eval(org.exist.xquery.value.Sequence, org.exist.xquery.value.Item)
View Full Code Here

Examples of org.exolab.castor.util.CommandLineOptions.addFlag()

     */
    public static void main(final String[] args) {
        CommandLineOptions allOptions = new CommandLineOptions();

        // -- Input classname flag
        allOptions.addFlag("i", "classname", "Sets the input class");

        // -- Output filename flag
        String desc = "Sets the output mapping filename";
        allOptions.addFlag("o", "filename", desc, true);

View Full Code Here

Examples of org.exolab.castor.util.CommandLineOptions.addFlag()

        // -- Input classname flag
        allOptions.addFlag("i", "classname", "Sets the input class");

        // -- Output filename flag
        String desc = "Sets the output mapping filename";
        allOptions.addFlag("o", "filename", desc, true);

        // -- Force flag
        desc = "Force overwriting of files.";
        allOptions.addFlag("f", "", desc, true);
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.