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

com.atlassian.maven.plugins.jgitflow.provider.DefaultContextProvider Maven / Gradle / Ivy

There is a newer version: 1.0-m5.1
Show newest version
package com.atlassian.maven.plugins.jgitflow.provider;

import com.atlassian.maven.plugins.jgitflow.ReleaseContext;

import org.codehaus.plexus.component.annotations.Component;

@Component(role = ContextProvider.class)
public class DefaultContextProvider implements ContextProvider
{
    private static final DefaultContextProvider INSTANCE = new DefaultContextProvider();
    private ReleaseContext context;

    @Override
    public ReleaseContext getContext()
    {
        return INSTANCE.context;
    }

    @Override
    public void setContext(ReleaseContext context)
    {
        INSTANCE.context = context;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy