All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.uni.freiburg.iig.telematik.sewol.context.constraint.AbstractConstraintContextContainer Maven / Gradle / Ivy

Go to download

SEWOL provides support for the handling of workflow traces. Specifically it allows to specify the shape and content of process traces in terms of entries representing the execution of a specific workflow activity. SEWOL also allows to write these traces on disk as a log file with the help of a special file writer for process logs. Currently it supports plain text, Petrify, MXML and XES log file types. In order to specify security-related context information, SEWOL provides access control models such as access control lists (ACL) and role-based access control models (RBAC). All types of models can be conveniently edited with the help of appropriate dialogs.

The newest version!
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package de.uni.freiburg.iig.telematik.sewol.context.constraint;

import de.invation.code.toval.constraint.AbstractConstraint;
import de.invation.code.toval.debug.SimpleDebugger;
import de.uni.freiburg.iig.telematik.sewol.accesscontrol.ACModelContainer;
import de.uni.freiburg.iig.telematik.sewol.context.process.AbstractProcessContextContainer;

/**
 *
 * @author stocker
 * @param 
 * @param 

*/ public abstract class AbstractConstraintContextContainer extends AbstractProcessContextContainer { private static final String CONSTRAINT_CONTEXT_DESCRIPTOR = "Constraint Context"; public AbstractConstraintContextContainer(String serializationPath) { super(serializationPath); } public AbstractConstraintContextContainer(String serializationPath, SimpleDebugger debugger) { super(serializationPath, debugger); } public AbstractConstraintContextContainer(String serializationPath, ACModelContainer availableACModels) { super(serializationPath, availableACModels); } public AbstractConstraintContextContainer(String serializationPath, SimpleDebugger debugger, ACModelContainer availableACModels) { super(serializationPath, debugger, availableACModels); } @Override public String getComponentDescriptor() { return CONSTRAINT_CONTEXT_DESCRIPTOR; } @Override protected void loadCustomContent(C constraintContext, P properties) throws Exception { super.loadCustomContent(constraintContext, properties); for (String activity : properties.getActivitiesWithRoutingConstraints()) { for (AbstractConstraint constraint : properties.getRoutingConstraints(activity)) { constraintContext.addRoutingConstraint(activity, constraint); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy