org.eclipse.rse.core.subsystems
Interface IRemotePropertyHolder
-
All Known Subinterfaces:
-
IRemoteFile,
IVirtualRemoteFile
-
All Known Implementing Classes:
-
AbstractRemoteFile,
RemoteFile,
RemoteFileEmpty,
RemoteFileRoot
-
public interface IRemotePropertyHolder
This interface should be implemented by any remote artifact
that contains remote properties and (optionally) caches them.
getProperty
Object getProperty(
String key)
- Returns the value of the property with the given key.
-
-
Parameters:
-
key
- the property key.
-
Returns:
- the value of the property.
getProperties
Object[] getProperties(
String[] keys)
- Returns the value of the properties with the given keys.
-
-
Parameters:
-
keys
- the property keys.
-
Returns:
- the correspoding values of the properties.
setProperty
void setProperty(
String key,
Object value)
- Sets the value of the property with the given key.
-
-
Parameters:
-
key
- the property key. -
value
- the value of the property.
setProperties
void setProperties(
String[] keys,
Object[] values)
- Sets the values of the properties with the given keys.
-
-
Parameters:
-
keys
- the property keys. -
values
- the corresponding values of the properties.
isPropertyStale
boolean isPropertyStale(
String key)
- Returns whether the property with the given key is stale.
-
-
Parameters:
-
key
- the property key.
-
Returns:
-
true
if the property is stale, false
otherwise.
markPropertyStale
void markPropertyStale(
String key)
- Marks the property with the given key as stale.
-
-
Parameters:
-
key
- the property key.
markAllPropertiesStale
void markAllPropertiesStale()
- Marks all properties as stale.
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.