
fr.ird.observe.spi.module.BusinessPackage Maven / Gradle / Ivy
package fr.ird.observe.spi.module;
/*-
* #%L
* ObServe Toolkit :: Dto
* %%
* Copyright (C) 2017 - 2021 Ultreia.io
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* .
* #L%
*/
import fr.ird.observe.dto.BusinessDto;
import java.util.Objects;
import java.util.Set;
/**
* Created on 03/10/2020.
*
* @author Tony Chemit - [email protected]
* @since 8.0.1
*/
public abstract class BusinessPackage {
private final int priority;
private final String packageName;
private final Set> types;
public BusinessPackage(int priority, String packageName, Set> types) {
this.priority = priority;
this.packageName = Objects.requireNonNull(packageName);
this.types = Objects.requireNonNull(types);
}
public int getPriority() {
return priority;
}
public String getPackageName() {
return packageName;
}
public Set> getTypes() {
return types;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy