Examples of Condition

@version $Id: Condition.java,v 1.2 2008/01/22 14:50:05 kebernet Exp $ @author Robert "kebernet" Cooper
  • org.rzo.yajsw.condition.Condition
  • org.rzo.yajsw.nettyutils.Condition
  • org.sonar.api.issue.condition.Condition
    @since 3.6
  • org.sonatype.mavenbook.weather.model.Condition
  • org.sonatype.nexus.capability.Condition
    An evaluable condition.
  • org.sonatype.nexus.client.core.Condition
    A condition to be satisfied by Nexus status in order for Nexus client to connect. @since 2.1
  • org.springframework.context.annotation.Condition
    A single {@code condition} that must be {@linkplain #matches matched} in orderfor a component to be registered.

    Conditions are checked immediately before the bean-definition is due to be registered and are free to veto registration based on any criteria that can be determined at that point.

    Conditions must follow the same restrictions as {@link BeanFactoryPostProcessor}and take care to never interact with bean instances. For more fine-grained control of conditions that interact with {@code @Configuration} beans consider the{@link ConfigurationCondition} interface. @author Phillip Webb @since 4.0 @see ConfigurationCondition @see Conditional @see ConditionContext

  • org.springmodules.validation.util.condition.Condition
    Represents a instantCondition that can be checked against an object. @author Uri Boness
  • org.teiid.language.Condition
    Represents criteria, which is also a boolean expression
  • org.teiid.query.processor.xml.Condition
    This is a condition which can be evaluated, and which supplies a Program instance which should act as the resulting sub Program to be run if the condition evaluates to true.
  • org.uengine.kernel.Condition
    @author Jinyoung Jang
  • org.w3c.css.sac.Condition
    @version $Revision: 1.3 $ @author Philippe Le Hegaret
  • org.w3c.flex.forks.css.sac.Condition
    @version $Revision: 1.3 $ @author Philippe Le Hegaret
  • org.xorm.query.Condition
  • pojo.Condition
    Condition generated by hbm2java
  • railo.transformer.bytecode.statement.Condition
  • robocode.Condition
    Condition is used to define custom {@link AdvancedRobot#waitFor(Condition) waitFor(Condition)} and custom events for an {@link AdvancedRobot}. The code below is taken from the sample robot named {@code sample.Target}. See the {@code sample/Target.java} for details.
     addCustomEvent( new Condition("triggerhit") { public boolean test() { return (getEnergy() <= trigger); }; } ); 
    You should note that by extending Condition this way, you are actually creating an inner class -- so if you distribute your robot, there will be multiple class files. (i.e. {@code Target$1.class}) @see AdvancedRobot#waitFor(Condition) @see AdvancedRobot#addCustomEvent(Condition) @see AdvancedRobot#removeCustomEvent(Condition) @see AdvancedRobot#onCustomEvent(CustomEvent) @author Mathew A. Nelson (original) @author Flemming N. Larsen (contributor) @author Nathaniel Troutman (contributor)
  • solver.constraints.nary.alldifferent.conditions.Condition
    A condition over integer variables

  • Examples of com.hpctoday.fada.Condition

        SubSolution<N> sSolution = solution.getSolution();
        // conditional node
        if(sSolution instanceof PipQuast){
          PipQuast<N> __quast = (PipQuast<N>)sSolution;
          Expression ineq = PipVectorToExpression(__quast.getCondition(), __params, __new_param);
          Condition __cond = new Condition(new Inequation(ineq.GetLeftChild(), Inequation.Predicate.FADA_GREATER_EQ, ineq.GetRightChild()));
          log.trace("Cond: " + __cond);
          return new Quast(__cond,
              FromPipQuast(__index, __deep, __counters, __params, __quast.getThen(), __new_param),
              FromPipQuast(__index, __deep, __counters, __params, __quast.getElse(), __new_param));
        } else if(sSolution instanceof PipList){ // leaf
    View Full Code Here

    Examples of com.intellij.openapi.util.Condition

                  findEventsViaMethodsAnnotatedSubscribe();

                  psiManager.addPsiTreeChangeListener(listener = new MyPsiTreeChangeAdapter());
                }
              }
            }, new Condition() {
              @Override public boolean value(Object o) {
                return hasRun.get();
              }
            }
        );
    View Full Code Here

    Examples of com.izforge.izpack.rules.Condition

            {
                Iterator<XMLElement> iter = root.getChildrenNamed("condition").iterator();
                while (iter.hasNext())
                {
                    XMLElement conditionel = iter.next();
                    Condition condition = RulesEngine.analyzeCondition(conditionel);
                    if (condition != null)
                    {
                        String conditionid = condition.getId();
                        if (conditions.containsKey(conditionid))
                        {
                            parseWarn(conditionel, "Condition with id '" + conditionid + "' will be overwritten");
                        }
                        conditions.put(conditionid, condition);
    View Full Code Here

    Examples of com.ketayao.ketacustom.spring.DataControlXML.Condition

    * @since   2014年1月17日 上午10:53:04
    */
    public class DataControlXMLTest {
      @Test
      public void testCreateXML() throws Exception {
        Condition condition = new Condition();
        condition.setName("条件标题1");
        condition.setContent("条件内容1");
       
        Condition condition2 = new Condition();
        condition2.setName("条件标题2");
        condition2.setContent("条件内容2");
       
        DataControlXML bean = new DataControlXML();
        bean.getItems().add(condition);
        bean.getItems().add(condition2);

    View Full Code Here

    Examples of com.l2jfrozen.gameserver.skills.conditions.Condition

        return false;
      }

      public boolean checkCondition(L2Character activeChar, L2Object target, boolean itemOrWeapon)
      {
        Condition preCondition = _preCondition;

        if(itemOrWeapon)
        {
          preCondition = _itemPreCondition;
        }

        if(preCondition == null)
          return true;

        Env env = new Env();
        env.player = activeChar;
        if(target instanceof L2Character)
        {
          env.target = (L2Character) target;
        }

        env.skill = this;
        if(!preCondition.test(env))
        {
          String msg = preCondition.getMessage();
          if(msg != null)
          {
            SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
            sm.addString(msg);
            activeChar.sendPacket(sm);
    View Full Code Here

    Examples of com.lyncode.xoai.dataprovider.filter.conditions.Condition

        }
       
        @Test
        public void fromFilterQuery() throws Exception {
            List<ScopedFilter> scopedFilters = new ArrayList<ScopedFilter>();
            scopedFilters.add(new ScopedFilter(new Condition() {
                @Override
                public Filter getFilter() {
                    return new DateFromFilter(DATE);
                }
            }, Scope.Query));
    View Full Code Here

    Examples of com.sishuok.es.common.entity.search.filter.Condition

            }
        }

        private static void convertSearchValueToEntityValue(BeanWrapperImpl beanWrapper, SearchFilter searchFilter) {
            if (searchFilter instanceof Condition) {
                Condition condition = (Condition) searchFilter;
                convert(beanWrapper, condition);
                return;
            }

            if (searchFilter instanceof OrCondition) {
    View Full Code Here

    Examples of com.sun.xacml.cond.Condition

        public Rule(URI id, int effect, String description, Target target, Apply condition) {
            idAttr = id;
            effectAttr = effect;
            this.description = description;
            this.target = target;
            this.condition = new Condition(condition.getFunction(), condition.getChildren());
        }
    View Full Code Here

    Examples of eas.simulation.spatial.sim2D.marbSimulation.endlAutomat.conditions.Condition

         * Adds a token to the condition.
         *
         * @param token  The token to add.
         */
        public void nextToken(final Integer token) {
            Condition cond, condL, condR;
           
            if (this.tokenIsInClasses(token, this.possibleClasses())) {
                this.actualData.add(token);
               
                // MiniOperand
    View Full Code Here

    Examples of eu.admire.dispel.statements.Condition

      /**
       * @generated
       */
      public boolean canExecute() {
        Condition container = (Condition) getElementToEdit();
        if (container.getElseStatement() != null) {
          return false;
        }
        return 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.