
net.customware.license.atlassian.restriction.AbstractLicenseRestriction Maven / Gradle / Ivy
The newest version!
package net.customware.license.atlassian.restriction;
import net.customware.license.atlassian.LicenseContext;
import net.customware.license.support.simple.SimpleRestriction;
import com.atlassian.license.License;
public abstract class AbstractLicenseRestriction extends SimpleRestriction {
protected License getLicense( Object context ) {
if ( context instanceof LicenseContext )
return ( ( LicenseContext ) context ).getLicense();
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy