Bug 1314797

Summary: org.libvirt.Domain constants with package only access despite use in public API
Product: [Community] Virtualization Tools Reporter: bugzilla.redhat.com.3632
Component: libvirt-javaAssignee: Libvirt Maintainers <libvirt-maint>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: claudio.bley, crobinso
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description bugzilla.redhat.com.3632 2016-03-04 14:16:40 UTC
Domain->createDomainXML call takes CreateFlags as second argument but these flag definitions are defined as package only in Domain class. Please make them public. TY.

Comment 2 bugzilla.redhat.com.3632 2016-03-04 14:22:23 UTC
Ah sorry, it's Connect->domainCreateXML.

Comment 3 Cole Robinson 2016-03-23 20:14:28 UTC
CCing Claudio Bley who is the libvirt-java maintainer

Comment 4 bugzilla.redhat.com.3632 2016-03-24 11:28:14 UTC
Might also be a good idea to use enums for those constants such that Java IDE's can find them automatically and suggest them to the user.

Comment 5 claudio.bley 2016-04-03 20:32:28 UTC
Yes, this has been a thorn in my side for quite some time. And yes, I want to use Enums. (https://www.redhat.com/archives/libvir-list/2014-March/msg01436.html)

I'll see that I get something together during the next week.