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

com.almworks.jira.structure.api2g.process.ProcessInfo Maven / Gradle / Ivy

There is a newer version: 17.25.3
Show newest version
package com.almworks.jira.structure.api2g.process;

import com.atlassian.jira.user.ApplicationUser;
import org.jetbrains.annotations.Nullable;

/**
 * 

ProcessInfo allows communication between process owner and process itself.

* *

If you know processId, you can access its state using {@link ProcessHandleManager#getInfo(Long)} method.

*/ public interface ProcessInfo { /** * @return Actual status of the process. Null if there is no such process */ @Nullable ProcessStatus getStatus(); /** * @return Process display parameters (process name, buttons). Null if there is no such process */ @Nullable ProcessDisplayParameters getParameters(); /** * @param user User key * @return true if state is visible for the user. false if there is no such process */ boolean isVisibleTo(@Nullable ApplicationUser user); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy