com.pega.pegarules.pub.generator
Interface IStaticContentAssembly


public interface IStaticContentAssembly


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Method Summary
 void addBundle(java.lang.String aName)
          Adds the specified bundle to the payload content of the static request.
 void addFile(java.lang.String aName)
          Adds the specified file to the payload content of the static request.
 void emitContent()
          Emits the static content to the stream (if moveToEnd is false) or queues the content to be sent at the end of the stream.
 java.lang.String getStaticVar()
          Returns the generated variable name associated with the run-time static control block.
 void setApp(java.lang.String aApp)
          Sets the web context root for use in the URL to retrieve the static content.
 void setMoveToEnd(boolean aMoveToEnd)
          Set to true to indicate that the static content should be moveded to the end of the output stream
 void setPath(java.lang.String aPath)
          Sets the path to the static content
 void setPrefixURL(java.lang.String aPrefixURL)
          Set the path to the server from which the content will be served.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

static final java.lang.String VERSION
See Also:
Constant Field Values
Method Detail

setApp

void setApp(java.lang.String aApp)
Sets the web context root for use in the URL to retrieve the static content. Defaults to "webwb" at runtime if not specified.

Parameters:
aApp - name of context root (application)

setPath

void setPath(java.lang.String aPath)
Sets the path to the static content

Parameters:
aPath - start of path to content (follows context root name)

setMoveToEnd

void setMoveToEnd(boolean aMoveToEnd)
Set to true to indicate that the static content should be moveded to the end of the output stream

Parameters:
aMoveToEnd -

setPrefixURL

void setPrefixURL(java.lang.String aPrefixURL)
Set the path to the server from which the content will be served. If not set, an edge server or web server path will be computed based on settings within PRPC.

Parameters:
aPrefixURL -

addBundle

void addBundle(java.lang.String aName)
Adds the specified bundle to the payload content of the static request.

Parameters:
aName - Bundle to send to client

addFile

void addFile(java.lang.String aName)
Adds the specified file to the payload content of the static request.

Parameters:
aName - File to be sent to client

emitContent

void emitContent()
Emits the static content to the stream (if moveToEnd is false) or queues the content to be sent at the end of the stream.


getStaticVar

java.lang.String getStaticVar()
Returns the generated variable name associated with the run-time static control block. May be used, if necessary, when generating additional run-time calls for this static block.

Returns:
name of variable associated with the IStaticContentRuntime instance for this static block.


Copyright © 2012 Pegasystems Inc. All Rights Reserved.