Examples of asPolicyIdentity()


Examples of com.volantis.mcs.expression.RepositoryObjectIdentityValue.asPolicyIdentity()

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

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

/*
 
View Full Code Here

Examples of com.volantis.mcs.expression.RepositoryObjectIdentityValue.asPolicyIdentity()

            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
Copyright © 2018 www.massapi.com. 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.