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

microsoft.build.tasks.GenerateDeploymentManifest Maven / Gradle / Ivy

/*
 *  MIT License
 *
 *  Copyright (c) 2024 MASES s.r.l.
 *
 *  Permission is hereby granted, free of charge, to any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), to deal
 *  in the Software without restriction, including without limitation the rights
 *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and to permit persons to whom the Software is
 *  furnished to do so, subject to the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included in all
 *  copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 *  SOFTWARE.
 */

/**************************************************************************************
 * 
 *      This code was generated from a template using JCOReflector v. 1.15.0.0
 * 
 *      Manual changes to this file may cause unexpected behavior in your application.
 *      Manual changes to this file will be overwritten if the code is regenerated.
 * 
 *************************************************************************************/

package microsoft.build.tasks;

import org.mases.jcobridge.*;
import org.mases.jcobridge.netreflection.*;
import java.util.ArrayList;

// Import section
import microsoft.build.tasks.GenerateManifestBase;


/**
 * The base .NET class managing Microsoft.Build.Tasks.GenerateDeploymentManifest, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
 * 

* * .NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.GenerateDeploymentManifest *

* * Powered by JCOBridge: more info at https://www.jcobridge.com * * @author MASES s.r.l https://masesgroup.com * @version 1.15.0.0 */ public class GenerateDeploymentManifest extends GenerateManifestBase { /** * Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a */ public static final String assemblyFullName = "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; /** * Assembly name: Microsoft.Build.Tasks.v4.0 */ public static final String assemblyShortName = "Microsoft.Build.Tasks.v4.0"; /** * Qualified class name: Microsoft.Build.Tasks.GenerateDeploymentManifest */ public static final String className = "Microsoft.Build.Tasks.GenerateDeploymentManifest"; static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName); /** * The type managed from JCOBridge. See {@link JCType} */ public static JCType classType = createType(); static JCEnum enumInstance = null; JCObject classInstance = null; static JCType createType() { try { String classToCreate = className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); if (JCOReflector.getDebug()) JCOReflector.writeLog("Creating %s", classToCreate); JCType typeCreated = bridge.GetType(classToCreate); if (JCOReflector.getDebug()) JCOReflector.writeLog("Created: %s", (typeCreated != null) ? typeCreated.toString() : "Returned null value"); return typeCreated; } catch (JCException e) { JCOReflector.writeLog(e); return null; } } void addReference(String ref) throws Throwable { try { bridge.AddReference(ref); } catch (JCNativeException jcne) { throw translateException(jcne); } } /** * Internal constructor. Use with caution */ public GenerateDeploymentManifest(java.lang.Object instance) throws Throwable { super(instance); if (instance instanceof JCObject) { classInstance = (JCObject) instance; } else throw new Exception("Cannot manage object, it is not a JCObject"); } public String getJCOAssemblyName() { return assemblyFullName; } public String getJCOClassName() { return className; } public String getJCOObjectName() { return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); } public java.lang.Object getJCOInstance() { return classInstance; } public void setJCOInstance(JCObject instance) { classInstance = instance; super.setJCOInstance(classInstance); } public JCType getJCOType() { return classType; } /** * Try to cast the {@link IJCOBridgeReflected} instance into {@link GenerateDeploymentManifest}, a cast assert is made to check if types are compatible. * @param from {@link IJCOBridgeReflected} instance to be casted * @return {@link GenerateDeploymentManifest} instance * @throws java.lang.Throwable in case of error during cast operation */ public static GenerateDeploymentManifest cast(IJCOBridgeReflected from) throws Throwable { NetType.AssertCast(classType, from); return new GenerateDeploymentManifest(from.getJCOInstance()); } // Constructors section public GenerateDeploymentManifest() throws Throwable, system.ArgumentNullException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject()); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Methods section // Properties section public boolean getCreateDesktopShortcut() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.ArgumentOutOfRangeException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Get("CreateDesktopShortcut"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setCreateDesktopShortcut(boolean CreateDesktopShortcut) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("CreateDesktopShortcut", CreateDesktopShortcut); } catch (JCNativeException jcne) { throw translateException(jcne); } } public boolean getDisallowUrlActivation() throws Throwable, system.InvalidOperationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Get("DisallowUrlActivation"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setDisallowUrlActivation(boolean DisallowUrlActivation) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("DisallowUrlActivation", DisallowUrlActivation); } catch (JCNativeException jcne) { throw translateException(jcne); } } public boolean getInstall() throws Throwable, system.InvalidOperationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Get("Install"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setInstall(boolean Install) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("Install", Install); } catch (JCNativeException jcne) { throw translateException(jcne); } } public boolean getMapFileExtensions() throws Throwable, system.InvalidOperationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Get("MapFileExtensions"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setMapFileExtensions(boolean MapFileExtensions) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("MapFileExtensions", MapFileExtensions); } catch (JCNativeException jcne) { throw translateException(jcne); } } public boolean getTrustUrlParameters() throws Throwable, system.InvalidOperationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Get("TrustUrlParameters"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setTrustUrlParameters(boolean TrustUrlParameters) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("TrustUrlParameters", TrustUrlParameters); } catch (JCNativeException jcne) { throw translateException(jcne); } } public boolean getUpdateEnabled() throws Throwable, system.InvalidOperationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Get("UpdateEnabled"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setUpdateEnabled(boolean UpdateEnabled) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("UpdateEnabled", UpdateEnabled); } catch (JCNativeException jcne) { throw translateException(jcne); } } public int getUpdateInterval() throws Throwable, system.InvalidOperationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (int)classInstance.Get("UpdateInterval"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setUpdateInterval(int UpdateInterval) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("UpdateInterval", UpdateInterval); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getDeploymentUrl() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("DeploymentUrl"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setDeploymentUrl(java.lang.String DeploymentUrl) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("DeploymentUrl", DeploymentUrl); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getErrorReportUrl() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.ArgumentOutOfRangeException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("ErrorReportUrl"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setErrorReportUrl(java.lang.String ErrorReportUrl) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("ErrorReportUrl", ErrorReportUrl); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getMinimumRequiredVersion() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("MinimumRequiredVersion"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setMinimumRequiredVersion(java.lang.String MinimumRequiredVersion) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("MinimumRequiredVersion", MinimumRequiredVersion); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getProduct() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("Product"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setProduct(java.lang.String Product) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("Product", Product); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getPublisher() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("Publisher"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setPublisher(java.lang.String Publisher) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("Publisher", Publisher); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getSuiteName() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.ArgumentOutOfRangeException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("SuiteName"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setSuiteName(java.lang.String SuiteName) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("SuiteName", SuiteName); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getSupportUrl() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("SupportUrl"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setSupportUrl(java.lang.String SupportUrl) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("SupportUrl", SupportUrl); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getUpdateMode() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("UpdateMode"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setUpdateMode(java.lang.String UpdateMode) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("UpdateMode", UpdateMode); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getUpdateUnit() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("UpdateUnit"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setUpdateUnit(java.lang.String UpdateUnit) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("UpdateUnit", UpdateUnit); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Instance Events section }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy