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 org.eclipse.emf.query.conditions.Condition

            }
            return eIDSet;
        }
       
        public static final Condition eq(final Set<Identifier> eIDs) {
            return new Condition() {
               
                @Override
                public boolean isSatisfied(Object value) {
                    if(value instanceof Feature) {
                        for(Identifier it : eIDs) {
    View Full Code Here

    Examples of org.enhydra.shark.xpdl.elements.Condition

         * Suggest to automatically add a Condition if a name is specified
         */
        protected void suggestCondition() {
            Transition transition = (Transition)getOwner();
            String name = transition.getName();
            Condition condition = transition.getCondition();
            String conditionType = (condition != null) ? condition.getType() : "";
            String expression = (condition != null) ? condition.toValue() : "";

            // check when transition name is specified and no existing condition
            if (name != null && name.trim().length() > 0
                    && conditionType.trim().length() == 0 || conditionType.equals(XPDLConstants.CONDITION_TYPE_CONDITION)
                    && expression.trim().length() == 0) {
    View Full Code Here

    Examples of org.exolab.jms.messagemgr.Condition

         * @return the next message or <code>null</code> if none is available
         * @throws JMSException for any JMS error
         */
        public MessageImpl receive(long consumerId, long wait) throws JMSException {
            MessageImpl result = null;
            Condition condition;
            if (wait > 0) {
                condition = TimedCondition.before(wait);
            } else {
                condition = new Flag(true);
            }
    View Full Code Here

    Examples of org.exoplatform.portal.mop.redirects.Condition

                        redirect.setSite(redirectData.getRedirectSiteName());
                        redirect.setEnabled(redirectData.isEnabled());

                        if (redirectData.getConditions() != null) {
                            for (RedirectConditionData conditionData : redirectData.getConditions()) {
                                Condition condition = redirect.getConditions().get(conditionData.getRedirectName());
                                if (condition == null) {
                                    condition = redirect.createCondition();
                                    redirect.getConditions().put(conditionData.getRedirectName(), condition);
                                }
                                // condition.setName(conditionData.getRedirectName());
    View Full Code Here

    Examples of org.exoplatform.services.command.action.Condition

             return;
          }

          try
          {
             Condition conditions = new Condition();
             conditions.put(SessionEventMatcher.EVENTTYPE_KEY, ExtendedEvent.ADD_MIXIN);
             conditions.put(SessionEventMatcher.PATH_KEY, node.getInternalPath());
             conditions.put(SessionEventMatcher.NODETYPES_KEY, new InternalQName[]{mixinType});
             conditions.put(SessionEventMatcher.WORKSPACE_KEY, workspaceName);

             InvocationContext ctx = new InvocationContext();
             ctx.put(InvocationContext.CURRENT_ITEM, node);
             ctx.put(InvocationContext.EVENT, ExtendedEvent.ADD_MIXIN);
             ctx.put(InvocationContext.EXO_CONTAINER, container);
    View Full Code Here

    Examples of org.fcrepo.server.types.gen.Condition

        public static Map getSDefLabelMap() throws IOException {
            try {
                HashMap labelMap = new HashMap();
                FieldSearchQuery query = new FieldSearchQuery();
                Condition[] conditions = new Condition[1];
                conditions[0] = new Condition();
                conditions[0].setProperty("fType");
                conditions[0].setOperator(ComparisonOperator.fromValue("eq"));
                conditions[0].setValue("D");
                FieldSearchQuery.Conditions conds =
                        new FieldSearchQuery.Conditions();
    View Full Code Here

    Examples of org.fest.swing.timing.Condition

          @Override
          public void run() {
            viewer.unloadApplet();
          }
        });
        pause(new Condition("applet is unloaded") {
          @Override
          public boolean test() {
            return !viewer.appletLoaded();
          }
        });
    View Full Code Here

    Examples of org.fto.jthink.jdbc.Condition

        columns.put("F2", "2");
        columns.put("F3", "3");
        columns.put("F4", "4");
        columns.put("F5", "5");
       
        Condition condn = new Condition();
        Condition condn1 = new Condition();
        condn1.add(new ConditionItem("DeptId", "!=", "3"));
       
        Condition condn2 = new Condition();
        condn2.add(Condition.OR, new ConditionItem("DeptId", "Between", new Object[]{"6", "9"}));
        condn1.add("OR", condn2);
        condn.add(Condition.AND_NOT, new ConditionItem("DeptName", "like", "%部%"));
        condn.add(Condition.AND, condn1);
        condn.add(Condition.AND_NOT, new ConditionItem("DeptDesc", "like", "%技术%"));
    View Full Code Here

    Examples of org.glassfish.grizzly.utils.conditions.Condition

         *          and listener was registered, null if current state is equal to required.
         *          In both cases listener will be notified
         */
        public Future<E> notifyWhenStateIsEqual(final E state,
                final CompletionHandler<E> completionHandler) {
            return notifyWhenConditionMatchState(new Condition() {

                    @Override
                    public boolean check() {
                        return state == StateHolder.this.state;
                    }
    View Full Code Here

    Examples of org.hbase.async.generated.ClientPB.Condition

          .build();
        final Comparator comparator = Comparator.newBuilder()
          .setNameBytes(BINARYCOMPARATOR)
          .setSerializedComparator(Bytes.wrap(cmp.toByteArray()))
          .build();
        final Condition cond = Condition.newBuilder()
          .setRow(key)
          .setFamily(family)
          .setQualifier(qualifier)
          .setCompareType(CompareType.EQUAL)
          .setComparator(comparator)
    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.