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

io.convergence_platform.services.security.ServiceAuthorityDeclaration Maven / Gradle / Ivy

Go to download

Holds the common functionality needed by all Convergence Platform-based services written in Java.

The newest version!
package io.convergence_platform.services.security;

import lombok.EqualsAndHashCode;

import java.util.UUID;

@EqualsAndHashCode
public class ServiceAuthorityDeclaration {
    public UUID uuid;
    public String authority;
    public String displayName;
    public int tier;

    public ServiceAuthorityDeclaration() {
    }

    public ServiceAuthorityDeclaration(String uuid, String authority, String displayName, int tier) {
        this.uuid = UUID.fromString(uuid);
        this.authority = authority;
        this.displayName = displayName;
        this.tier = tier;
    }

    public ServiceAuthorityDeclaration(UUID uuid, String authority, String displayName, int tier) {
        this.uuid = uuid;
        this.authority = authority;
        this.displayName = displayName;
        this.tier = tier;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy