| 
 | Version: ${maven.project.version} | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.soaplab.services.metadata.MetadataUtils
public abstract class MetadataUtils
Some static pieces of code for dealing with analysis metadata.
| Constructor Summary | |
|---|---|
| MetadataUtils() | |
| Method Summary | |
|---|---|
| static java.util.Map<java.lang.String,java.lang.Object> | analysisSpec2Map(MetadataAccessor metadataAccessor)Convert a set of Analysis attributes into a Map (as defined and used, for example, by Analysis in Soaplab. | 
| static java.util.Map<java.lang.String,java.lang.Object>[] | inputSpec2Map(MetadataAccessor metadataAccessor)Convert a set of InputPropertyDef's into a Map (as defined and used, for example, by Analysis in Soaplab. | 
| static java.util.Map<java.lang.String,java.lang.Object>[] | outputSpec2Map(MetadataAccessor metadataAccessor)Convert a set of OutputPropertyDef's into a Map (as defined and used, for example, by Analysis in Soaplab). | 
| static java.lang.String[] | parseLauncher(MetadataAccessor metadataAccessor,
              java.lang.String serviceName,
              java.lang.Object owner)Find the 'launcher' directive in the given metadata, or in the configuration (using given 'serviceName' and the caller), and parse it into a list of two elements. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MetadataUtils()
| Method Detail | 
|---|
public static java.util.Map<java.lang.String,java.lang.Object>[] inputSpec2Map(MetadataAccessor metadataAccessor)
                                                                        throws SoaplabException
SoaplabException
public static java.util.Map<java.lang.String,java.lang.Object>[] outputSpec2Map(MetadataAccessor metadataAccessor)
                                                                         throws SoaplabException
Filter out some properties that are not useful for the end-users. But keep there a backdoor: when a property 'show.all.properties' is on, do not filter them.
SoaplabException
public static java.util.Map<java.lang.String,java.lang.Object> analysisSpec2Map(MetadataAccessor metadataAccessor)
                                                                         throws SoaplabException
Filter out some properties that are not useful for the end-users. But keep there a backdoor: when a property 'show.all.properties' is on, do not filter them.
SoaplabException
public static java.lang.String[] parseLauncher(MetadataAccessor metadataAccessor,
                                               java.lang.String serviceName,
                                               java.lang.Object owner)
                                        throws SoaplabException
SoaplabException| 
 | Version: ${maven.project.version} | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||