org.eclipse.epsilon.egl.traceability.OutputFile Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2008 The University of York.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* Louis Rose - initial API and implementation
******************************************************************************/
package org.eclipse.epsilon.egl.traceability;
import java.net.URI;
public class OutputFile extends Container {
protected OutputFile(Template template, String name, URI uri) {
super(template, name, uri);
if (template == null)
throw new NullPointerException("template cannot be null.");
if (uri == null)
throw new NullPointerException("uri cannot be null.");
}
public ProtectedRegion addProtectedRegion(String id, boolean enabled, int offset) {
final ProtectedRegion pr = new ProtectedRegion(this, id, enabled, offset);
add(pr);
return pr;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy