public class Entry extends Object implements SynapseArtifact
SynapseConfiguration.localRegistry
Modifier and Type | Field and Description |
---|---|
static int |
INLINE_TEXT |
static int |
INLINE_XML |
static int |
REMOTE_ENTRY |
static int |
URL_SRC |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
String |
getDescription()
Retrieves the description of the artifact
|
Properties |
getEntryProperties() |
long |
getExpiryTime() |
String |
getFileName() |
String |
getKey() |
XMLToObjectMapper |
getMapper() |
URL |
getSrc() |
int |
getType() |
Object |
getValue()
Gets the value of the entry.
|
long |
getVersion() |
boolean |
isCached() |
boolean |
isDynamic() |
boolean |
isExpired() |
boolean |
isInlineText() |
boolean |
isInlineXML() |
boolean |
isRemote() |
boolean |
isURLSource() |
void |
setDescription(String description)
Set the description of the artifact
|
void |
setEntryProperties(Properties entryProperties) |
void |
setExpiryTime(long expiryTime) |
void |
setFileName(String fileName) |
void |
setKey(String key) |
void |
setMapper(XMLToObjectMapper mapper)
Set the mapper
|
void |
setSrc(URL src) |
void |
setType(int type) |
void |
setValue(Object value) |
void |
setVersion(long version) |
public static final int INLINE_TEXT
public static final int INLINE_XML
public static final int URL_SRC
public static final int REMOTE_ENTRY
public Entry()
public Entry(String key)
public int getType()
public boolean isRemote()
public boolean isURLSource()
public boolean isInlineXML()
public boolean isInlineText()
public void setType(int type)
public URL getSrc()
public void setSrc(URL src)
public String getKey()
public void setKey(String key)
public Object getValue()
public void setValue(Object value)
public XMLToObjectMapper getMapper()
public void setMapper(XMLToObjectMapper mapper)
mapper
- XMLToObjectMapper instancepublic long getVersion()
public void setVersion(long version)
public long getExpiryTime()
public void setExpiryTime(long expiryTime)
public String getFileName()
public void setFileName(String fileName)
public String getDescription()
SynapseArtifact
getDescription
in interface SynapseArtifact
public void setDescription(String description)
SynapseArtifact
setDescription
in interface SynapseArtifact
description
- tobe set to the artifactpublic Properties getEntryProperties()
public void setEntryProperties(Properties entryProperties)
public boolean isExpired()
public boolean isCached()
public void clearCache()
public boolean isDynamic()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.