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

net.nemerosa.ontrack.ui.controller.URIBuilder Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.ui.controller;

import net.nemerosa.ontrack.model.structure.ProjectEntity;

import java.net.URI;

public interface URIBuilder {

    URI build(Object methodInvocation);

    /**
     * Builds the URI to a page.
     *
     * @param path      Path to the page, as a pattern
     * @param arguments Arguments for the path pattern
     * @return Full URI to the page
     */
    URI page(String path, Object... arguments);

    /**
     * Returns the access URI for an entity
     */
    URI getEntityURI(ProjectEntity entity);

    /**
     * Returns the page URI for an entity
     */
    URI getEntityPage(ProjectEntity entity);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy