org.yawlfoundation.yawl.cost.interfce
Class ModelUpload

java.lang.Object
  extended by org.yawlfoundation.yawl.cost.interfce.ModelUpload

public class ModelUpload
extends Object

Author:
Michael Adams
Created/Last Date:
11/02/12

Constructor Summary
ModelUpload()
           
 
Method Summary
 String add(String fileName)
           
 String getLog(String id, String version, String uri)
           
static void main(String[] args)
           
protected  String stripOuterElement(String xml)
          Removes the outermost set of xml tags from a string, if any
 boolean successful(String message)
          Tests a response message for success or failure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelUpload

public ModelUpload()
Method Detail

add

public String add(String fileName)

getLog

public String getLog(String id,
                     String version,
                     String uri)

stripOuterElement

protected String stripOuterElement(String xml)
Removes the outermost set of xml tags from a string, if any

Parameters:
xml - the xml string to strip
Returns:
the stripped xml string

successful

public boolean successful(String message)
Tests a response message for success or failure

Parameters:
message - the response message to test
Returns:
true if the response represents success

main

public static void main(String[] args)


Copyright © 2004-2012 The YAWL Foundation.