public abstract class VmResourceRef
extends java.lang.Object
VmResourceId
in that it may be much less
precise, e.g. RegExp over script name.
VmResourceRef
is an intermediate value derived from user IDE file and used for
locating actual resource locally or on remote VM (when setting a breakpoint).
This is an algebraic type. See VmResourceRef.Visitor
and factory methods for details.Modifier and Type | Class and Description |
---|---|
static interface |
VmResourceRef.Visitor<R>
A GoF Visitor interface for algebraic type
VmResourceRef . |
Constructor and Description |
---|
VmResourceRef() |
Modifier and Type | Method and Description |
---|---|
abstract <R> R |
accept(VmResourceRef.Visitor<R> visitor) |
static VmResourceRef |
forRegExpBased(ScriptNameManipulator.ScriptNamePattern scriptNamePattern) |
static VmResourceRef |
forVmResourceId(VmResourceId vmResourceId)
Creates VmResourceRef that is based on
VmResourceId . |
public static VmResourceRef forRegExpBased(ScriptNameManipulator.ScriptNamePattern scriptNamePattern)
public static VmResourceRef forVmResourceId(VmResourceId vmResourceId)
VmResourceId
.public abstract <R> R accept(VmResourceRef.Visitor<R> visitor)
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.