org.gpel.client.GcState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gpel-client Show documentation
Show all versions of gpel-client Show documentation
Grid BPEL Engine Client developed by Extreme Computing Lab, Indiana University
The newest version!
/* -*- mode: Java; c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/
/* Copyright (c) 2006 Extreme! Lab, Indiana University. All rights reserved.
* This software is open source. See the bottom of this file for the license.
* $Id: GcState.java,v 1.3 2006/12/07 04:55:28 aslom Exp $ */
package org.gpel.client;
import org.gpel.GpelConstants;
import org.xmlpull.infoset.XmlElement;
public class GcState extends GcAbstractState {
public final static String REL = GpelConstants.REL_STATE;
public final static String MIME_TYPE = "application/x-gpel-state+xml";
public GcState(XmlElement atomRes) {
super(atomRes);
}
public String getRel() {
return REL;
}
public String getStatus() {
XmlElement el = getXmlContent();
String s = el.requiredElement("status").requiredText();
return s;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy