Examples of updateStringProperty()


Examples of org.drools.repository.PackageItem.updateStringProperty()

    @Test
    public void testGetBasics() throws Exception {
        RulesRepository repo = RepositorySessionUtil.getRepository();
        PackageItem pkg = repo.createPackage("testRestGetBasics", "", PackageItem.PACKAGE_FORMAT);
        pkg.updateStringProperty("This is some header", PackageItem.HEADER_PROPERTY_NAME);
        repo.save();


        AssetItem asset1 = pkg.addAsset("asset1", "");
        asset1.updateContent("this is content");
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.