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

gw.lang.reflect.module.Dependency Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.reflect.module;

import gw.lang.UnstableAPI;

@UnstableAPI
public class Dependency
{
  private IModule _module;
  private boolean _exported;

  public Dependency( IModule module, boolean bExported )
  {
    _module = module;
    _exported = bExported;
  }

  public IModule getModule()
  {
    return _module;
  }

  public boolean isExported()
  {
    return _exported;
  }
  
  public String toString() {
    return _module.toString() + (_exported ? " (exported)" : " (not exported)");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy