public interface ISWCScript
<script>
entry in a SWC catagory.xml file.Modifier and Type | Method and Description |
---|---|
void |
addDefinition(String def)
Add a definition to the script.
|
void |
addDependency(String name,
DependencyType type)
Add a dependency to the script.
|
Set<String> |
getDefinitions()
Get a list of QNames declared in the
<def> tags. |
com.google.common.collect.SetMultimap<String,DependencyType> |
getDependencies()
Get a map of dependencies and their dependency types.
|
long |
getLastModified()
Get the last modified time-stamp of the script.
|
String |
getName()
Get the name of the script.
|
String |
getSignatureChecksum()
Get signature checksum.
|
byte[] |
getSource()
Get the ABC byte code of the script.
|
void |
setSource(byte[] abcData)
Attach the ABC byte code to the script.
|
String getName()
long getLastModified()
String getSignatureChecksum()
Set<String> getDefinitions()
<def>
tags.com.google.common.collect.SetMultimap<String,DependencyType> getDependencies()
void addDefinition(String def)
def
- name of the definitionvoid addDependency(String name, DependencyType type)
name
- QName of the dependencytype
- type of dependencyvoid setSource(byte[] abcData)
abcData
- ABC byte codebyte[] getSource()
Copyright © 2016 The Apache Software Foundation. All rights reserved.