You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/01/16 20:37:45 UTC
cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment DeploymentEvent.java
weaver 2004/01/16 11:37:45
Modified: portal/src/java/org/apache/jetspeed/deployment
DeploymentEvent.java
Log:
DeploymentEvent now supports a status indicator
Revision Changes Path
1.2 +11 -1 jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/DeploymentEvent.java
Index: DeploymentEvent.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/DeploymentEvent.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DeploymentEvent.java 14 Jan 2004 19:32:57 -0000 1.1
+++ DeploymentEvent.java 16 Jan 2004 19:37:45 -0000 1.2
@@ -77,6 +77,10 @@
String EVENT_TYPE_REDEPLOY = "redeploy";
/** Standard un-deployment event */
String EVENT_TYPE_UNDEPLOY = "undeploy";
+
+ int STATUS_OKAY = 0;
+ int STATUS_FAILED = 1;
+
/**
* Returns the type of event this is. You can use one of the three pre-defined types
@@ -100,5 +104,11 @@
* @return InputStream containing the information to be deployed.
*/
DeploymentHandler getHandler();
+
+ int getStatus();
+
+ void setStatus(int status);
+
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org