Examples of Executable


Examples of ceylon.modules.spi.Executable

        String exe = conf.executable;
        if (exe == null) {
            throw new CeylonRuntimeException("Missing -executable argument");
        }

        Executable executable = createInstance(Executable.class, exe);
        executable.execute(conf);
    }
View Full Code Here

Examples of ch.tatool.element.Executable

  protected int checkLevelChange(ExecutionContext context, int currentLevel) {
    List<Trial> trials = context.getExecutionData().getTrials();
    int oldLevel = currentLevel;
    int newLevel = oldLevel;

    Executable executable = context.getActiveExecutable();

    // loop through all trials
    for (int i = 0; i < trials.size(); i++) {
      Trial trial = trials.get(i);
View Full Code Here

Examples of client.net.sf.saxon.ce.expr.instruct.Executable

     * @param visitor an ExpressionVisitor
     */

    public void refineVariableType(
            ItemType type, int cardinality, Value constantValue, int properties, ExpressionVisitor visitor) {
        Executable exec = visitor.getExecutable();
        if (exec == null) {
            // happens during use-when evaluation
            return;
        }
        TypeHierarchy th = exec.getConfiguration().getTypeHierarchy();
        ItemType oldItemType = getItemType(th);
        ItemType newItemType = oldItemType;
        if (th.isSubType(type, oldItemType)) {
            newItemType = type;
        }
View Full Code Here

Examples of client.net.sf.saxon.ce.expr.instruct.Executable

        try {

            PreparedStylesheet pss = getPreparedStylesheet();
            //Configuration config = pss.getConfiguration();
            Executable exec = pss.getExecutable();

            // Register template rules with the rule manager

            for (int i = 0; i < topLevel.size(); i++) {
                Declaration decl = topLevel.get(i);
View Full Code Here

Examples of client.net.sf.saxon.ce.expr.instruct.Executable

     * rules defined in xsl:strip-space are managed in the same way as template rules,
     * hence the use of a special Mode object
     */

    protected StripSpaceRules getStripperRules() {
        Executable exec = getPreparedStylesheet().getExecutable();
        if (exec.getStripperRules() == null) {
            exec.setStripperRules(new StripSpaceRules());
        }
        return exec.getStripperRules();
    }
View Full Code Here

Examples of client.net.sf.saxon.ce.expr.instruct.Executable

        FunctionLibraryList lib = new FunctionLibraryList();
        lib.addFunctionLibrary(SystemFunctionLibrary.getSystemFunctionLibrary(
                StandardFunction.CORE|StandardFunction.USE_WHEN));
        lib.addFunctionLibrary(ConstructorFunctionLibrary.getInstance());
        functionLibrary = lib;
        executable = new Executable(config);
    }
View Full Code Here

Examples of com.betfair.cougar.core.api.ev.Executable

    }

  @Override
  public Executable resolveExecutable(OperationKey operationKey, ExecutionVenue ev) {
    for (ExecutableResolver resolver : executableResolvers.get(operationKey.getNamespace())) {
      Executable executable = resolver.resolveExecutable(operationKey.getLocalKey(), ev);
      if (executable != null) {
        return executable;
      }
    }
    return null;
View Full Code Here

Examples of com.panorama.startup.Executable

        verifyControls();
    }

    public void testFailure()
    {
        Executable f = new Executable()
        {
            public void execute() throws Exception
            {
                throw new ApplicationRuntimeException("Failure!");
            }
View Full Code Here

Examples of com.rupertjones.globalcron.common.scheduling.Executable

    public String getScript() {
        return script;
    }

    public Executable getRunnable() {
        Executable exec = new Executable(this);
        return exec;
    }
View Full Code Here

Examples of de.esoco.j2me.util.Executable

    {
      boolean bNewEncryption = !rModel.usesEncryption();
      String  sMsgKey       = bNewEncryption ? "MsNewPasswd"
                          : "MsPassword";

      Executable aEncryptSet = new Executable()
      {
        public void execute(Object rArg)
          throws UserNotificationException
        {
          setNodeEncryption(rNode, bEncrypt);
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.