Package com.volantis.mcs.expression

Examples of com.volantis.mcs.expression.RepositoryObjectIdentityValue


            PolicyIdentity expectedIdentity)
            throws ExpressionException {

        Value value = function.invoke(expressionContextMock, arguments);

        RepositoryObjectIdentityValue identityValue =
                (RepositoryObjectIdentityValue) value;
        PolicyIdentity actualIdentity =
                identityValue.asPolicyIdentity();
        assertEquals("Identity", expectedIdentity, actualIdentity);
    }
View Full Code Here


        RuntimePolicyReference reference = null;
        try {
            Value value = expression.evaluate(expressionContext);
            if (value instanceof RepositoryObjectIdentityValue) {
                RepositoryObjectIdentityValue identityValue =
                        (RepositoryObjectIdentityValue) value;

                PolicyIdentity identity = identityValue.asPolicyIdentity();

                reference = referenceFactory.createLazyNormalizedReference(
                        (RuntimeProject) identity.getProject(), baseURL, identity.getName(),
                        identity.getPolicyType());
View Full Code Here

TOP

Related Classes of com.volantis.mcs.expression.RepositoryObjectIdentityValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.