public static interface VmResource.ScriptHolder extends VmResource.Metadata
VmResource.Metadata
that describes a resource directly linked to a resource
in VM. It holds one or several Script
s. Typically resource is .js or .html file.Modifier and Type | Method and Description |
---|---|
Script |
getSingleScript() |
Script getSingleScript()
java.lang.UnsupportedOperationException
- if this resource does not entirely consists of 1 script
TODO(peter.rybin): redesign this method to normally work with html resources.Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.