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.profiler;
18:
19: /**
20: * ProfileLocatorElement
21: *
22: * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
23: * @version $Id: ProfileLocatorProperty.java 516448 2007-03-09 16:25:47Z ate $
24: */
25: public interface ProfileLocatorProperty {
26: /**
27: * Gets the value of the locator property.
28: *
29: * @return The value of the property.
30: */
31: String getValue();
32:
33: /**
34: * Sets the value of the locator property.
35: * @param value The value of the property.
36: */
37: void setValue(String value);
38:
39: /**
40: * Returns the fallback type of the property.
41: * see
42: *
43: * @return
44: */
45: int getFallbackType();
46:
47: /**
48: * @return
49: */
50: String getName();
51:
52: /**
53: * @return
54: */
55: String getType();
56:
57: /**
58: * @param i
59: */
60: void setFallbackType(int type);
61:
62: /**
63: * @param string
64: */
65: void setName(String string);
66:
67: /**
68: * @param string
69: */
70: void setType(String type);
71:
72: /**
73: * @return control classification flag
74: */
75: boolean isControl();
76:
77: /**
78: * @return true if a property is a navigation
79: */
80: boolean isNavigation();
81: }
|