01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.jetspeed.cluster;
18:
19: import java.util.Date;
20: import org.apache.pluto.om.common.ObjectID;
21:
22: /**
23: * Node Information Interface
24: *
25: * @author <a href="mailto:hajo@bluesunrise.com">Hajo Birthelmer</a>
26: * @version
27: */
28:
29: public interface NodeInformation {
30:
31: /**
32: * Getter for ContextName
33: * @return
34: */
35: public String getContextName();
36:
37: /**
38: * setter for context name
39: *
40: * @param id
41: */
42: public void setContextName(String contextName);
43:
44: /**
45: * Getter for ObjectID
46: * @return
47: */
48: public Long getId();
49:
50: /**
51: * setter for ObjectID
52: *
53: * @param id
54: */
55: public void setId(ObjectID id);
56:
57: /**
58: * setter for ObjectID
59: *
60: * @param id
61: */
62: public void setId(Long id);
63:
64: /**
65: * setter for ObjectID
66: *
67: * @param id
68: */
69: public void setId(long id);
70:
71: /**
72: * Getter for Last Deploy Date
73: * @return
74: */
75: public Date getLastDeployDate();
76:
77: /**
78: * setter for last deploy date
79: *
80: * @param id
81: */
82: public void setLastDeployDate(Date lastDeployDate);
83:
84: public String toString();
85: }
|