KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > enterprise > deploy > spi > status > JBoss30DeploymentStatus


1 package org.jboss.enterprise.deploy.spi.status;
2
3 import javax.enterprise.deploy.shared.ActionType JavaDoc;
4 import javax.enterprise.deploy.shared.CommandType JavaDoc;
5 import javax.enterprise.deploy.shared.StateType JavaDoc;
6
7 import javax.enterprise.deploy.spi.*;
8 import javax.enterprise.deploy.spi.status.DeploymentStatus JavaDoc;
9
10 /**
11  * The DeploymentStatus interface provides information about the progress status of a deployment action.
12  *
13  * @author letiembl
14  * @created 15 avril 2002
15  */

16 public class JBoss30DeploymentStatus implements DeploymentStatus JavaDoc
17 {
18
19    /**
20     * Retrieve the deployment ActionType for this event.
21     *
22     * @return action value
23     */

24    public int getAction()
25    {
26       return 0;
27    }
28
29
30    /**
31     * Retrieve the deployment CommandType of this event.
32     *
33     * @return command value
34     */

35    public int getCommand()
36    {
37       return 0;
38    }
39
40
41    /**
42     * Retrieve any additional information about the status of this event.
43     *
44     * @return message text
45     */

46    public String JavaDoc getMessage()
47    {
48       return null;
49    }
50
51
52    /**
53     * Retrieve the StateType value.
54     *
55     * @return State value
56     */

57    public int getState()
58    {
59       return 0;
60    }
61
62
63    /**
64     * A convience method to report if the operation is in the completed state.
65     *
66     * @return true if this command has completed successfully
67     */

68    public boolean isCompleted()
69    {
70       return false;
71    }
72
73
74    /**
75     * A convience method to report if the operation is in the failed state.
76     *
77     * @return true if this command has failed
78     */

79    public boolean isFailed()
80    {
81       return false;
82    }
83
84
85    /**
86     * A convience method to report if the operation is in the running state.
87     *
88     * @return true if this command is still running
89     */

90    public boolean isRunning()
91    {
92       return false;
93    }
94 }
95
96
Popular Tags