Examples of touch()


Examples of eu.planets_project.pp.plato.model.tree.Node.touch()

        if (object instanceof Node) {
            Node node = (Node) object;
            node.addChild(new Leaf());
            log.debug("Leaf added: to NODE");
            // this node has been changed()
            node.touch();
            expandNode(node);
           
        }
    }
View Full Code Here

Examples of eu.scape_project.planning.model.PlanProperties.touch()

                        prop.setDescription(newOwner + "'s copy of: " + prop.getDescription()
                            + " (originally created by " + prop.getOwner() + ")");
                        prop.setOwner(newOwner);
                        // mark this plan as a playground copy
                        prop.setPlayground(true);
                        prop.touch();
                        PrepareChangesForPersist prep = new PrepareChangesForPersist(newOwner);
                        prep.prepare(prop);

                        String message = "A copy has been created: <em>"
                            + prop.getName()
View Full Code Here

Examples of eu.scape_project.planning.model.transform.Transformer.touch()

                    for (String s : ot.getMapping().keySet()) {
                        ot.getMapping().put(s, new TargetValueObject(3.33));
                    }
                }
            }
            t.touch();
        }
    }

    /**
     * Returns the acceptable alternatives of a plan. Acceptable alternatives
View Full Code Here

Examples of hudson.FilePath.touch()

        try {
            dir.delete();
            dir.child("subdir").mkdirs();

            FilePath f = dir.child("a.txt");
            f.touch(0);
            f.chmod(0755);

            f = dir.child("subdir/b.txt");
            f.touch(0);
            f.chmod(0644);
View Full Code Here

Examples of hudson.FilePath.touch()

            FilePath f = dir.child("a.txt");
            f.touch(0);
            f.chmod(0755);

            f = dir.child("subdir/b.txt");
            f.touch(0);
            f.chmod(0644);
            int dirMode = dir.child("subdir").mode();

            dir.tar(new FileOutputStream(tar),"**/*");
            dir.zip(new FileOutputStream(zip));
View Full Code Here

Examples of net.rubyeye.xmemcached.MemcachedClient.touch()

      KeyIterator it = memcachedClient.getKeyIterator(AddrUtil
          .getOneAddress(args[0]));
      while (it.hasNext()) {
        System.out.println(it.next());
      }
      System.out.println(memcachedClient.touch("b", 1000));

    } catch (MemcachedException e) {
      System.err.println("MemcachedClient operation fail");
      e.printStackTrace();
    } catch (TimeoutException e) {
View Full Code Here

Examples of net.sf.sahi.session.Session.touch()

      return new SimpleHttpResponse("" + scriptRunner.hasErrors());
    }
   
    public void xsuccess(final HttpRequest request) {
        Session session = request.session();
        session.touch();
        SessionState state = new SessionState();
        state.setVar("sahi_retries", "0", session);
        state.setVar("sahi_not_my_win_retries", "0", session);
    }
View Full Code Here

Examples of net.sourceforge.cobertura.coveragedata.ClassData.touch()

            }
            int diffHits = (int) (afterHits - prevHits);
            result.addLine(lld.getLineNumber(), lld.getMethodName(),
                    lld.getMethodDescriptor());
            if (diffHits > 0) {
                result.touch(lld.getLineNumber(), diffHits);
            }
            if (diffHits < 0) {
                errors.add("Coverage decreased on line " + lld.getLineNumber()
                        + " of " + larger.getName());
            }
View Full Code Here

Examples of org.apache.axis.session.SimpleSession.touch()

                id = getNewSession();
                session = (SimpleSession)activeSessions.get(id);
            }

            // This session is still active...
            session.touch();
           
            // Store it away in the MessageContext.
            context.setSession(session);
            context.setProperty(SESSION_ID, id);
        }
View Full Code Here

Examples of org.apache.axis2.context.SessionContext.touch()

            String cookieString = UUIDGenerator.getUUID();
            sessionContext = new SessionContext(null);
            sessionContext.setCookieID(cookieString);
            sessionContextTable.put(cookieString, sessionContext);
        }
        sessionContext.touch();
        cleanupServiceGroupContexts();
        return sessionContext;
    }

    private void cleanupServiceGroupContexts() {
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.