public interface SourceItemFacadeRemote
| Modifier and Type | Method and Description |
|---|---|
void |
forceRuleCompilation()
Force a new rule compilation on the server.
|
java.net.URL |
getDownloadURL(java.lang.String qualifiedClassname,
boolean src)
Get an URL that can be used for downloading the java source of an source item (business object or event source).
|
INuclosApi |
getNuclosApi()
Get info about the nuclos API version.
|
java.net.URL |
getNuclosApiDownloadURL(java.lang.String jarFileName)
Get an URL that can be used for downloading the nuclos api jar file.
|
ISourceItem |
getTree(SourceType type,
java.lang.String qualifiedPackagenameAsRoot,
boolean includeOldApiRules)
Get the source items (beginning with root), containing all source items (of the given type)
that are defined in the nuclos instance.
|
ISourceItem |
uploadSourceItem(ISourceItem item,
boolean isOldRule,
byte[] content)
Upload the given java source item.
|
ISourceItem getTree(SourceType type, java.lang.String qualifiedPackagenameAsRoot, boolean includeOldApiRules) throws java.lang.IllegalAccessException
type - SourceType of SourceItem. By definition null means 'all types for SourceItems'.qualifiedPackagenameAsRoot - Root node of the subtree of SourceItems to retrieve. By definition
null means 'complete tree, beginning at root'. (If qualifiedPackagenameAsRoot happens
to be a Classname, the result is always null.)includeOldApiRules - true to include 'old rules'java.lang.IllegalAccessExceptionjava.net.URL getDownloadURL(java.lang.String qualifiedClassname,
boolean src)
throws java.lang.IllegalAccessException
java.lang.IllegalAccessExceptionINuclosApi getNuclosApi() throws java.lang.IllegalAccessException
java.lang.IllegalAccessExceptionjava.net.URL getNuclosApiDownloadURL(java.lang.String jarFileName)
throws java.lang.IllegalAccessException
java.lang.IllegalAccessExceptionISourceItem uploadSourceItem(ISourceItem item, boolean isOldRule, byte[] content) throws java.lang.IllegalAccessException
item - isOldRule - true if this rule is part of the 'old rule API'content - item
given, the IDE must reload the source. It is recommended to reload after forceRuleCompilation().java.lang.IllegalAccessExceptionvoid forceRuleCompilation()
This method is called after all (altered) java source items have been uploaded with
uploadSourceItem(ISourceItem, boolean, byte[]).
Copyright © 2022. All rights reserved.